summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2006-12-21 21:01:28 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2006-12-21 21:01:28 +0000
commit28fa880b17eff437abd5cd3a9c4d9ccb1f625eac (patch)
tree93038f68638e960a7f46a8826184bdab99e3b07f
parent5f27b05342292e3bfe6415ae5df9ef9fc46ec1cb (diff)
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
-rw-r--r--backport_recommended_sarge.sh1
-rw-r--r--edit_changelog_sarge.py2
2 files changed, 3 insertions, 0 deletions
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))

Contact - Imprint