summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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