From 28fa880b17eff437abd5cd3a9c4d9ccb1f625eac Mon Sep 17 00:00:00 2001 From: ranke Date: Thu, 21 Dec 2006 21:01:28 +0000 Subject: Improve upgrade from Christians packages to my sarge backport of recommended r-cran-* packages git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@7 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_recommended_sarge.sh | 1 + edit_changelog_sarge.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/backport_recommended_sarge.sh b/backport_recommended_sarge.sh index 0ed5afa..5cb52af 100644 --- a/backport_recommended_sarge.sh +++ b/backport_recommended_sarge.sh @@ -15,6 +15,7 @@ for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do apt-get source -t unstable r-cran-$i cd $i-* cp ../../r-sarge-cran-recommended.mk debian/rules + sed -i 's/^Replaces:.*/&, r-recommended (= 2.4.0-0sarge2)/' debian/control python ../../edit_changelog_sarge.py fakeroot dpkg-buildpackage cd ../.. diff --git a/edit_changelog_sarge.py b/edit_changelog_sarge.py index 56bef13..13123ff 100644 --- a/edit_changelog_sarge.py +++ b/edit_changelog_sarge.py @@ -23,6 +23,8 @@ changelog.new_block(package=changelog.package(), changelog.add_change(''); changelog.add_change(' * Backport to sarge for repository on CRAN'); +changelog.add_change(' * Also replaces r-recommended (= 2.4.0-0sarge2) for smooth upgrade from'); +changelog.add_change(' earlier backport by Christian Steigies'); changelog.add_change(''); file(chlg,"w").write(str(changelog)) -- cgit v1.2.1