summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backport_all.sh6
-rw-r--r--backport_rkward.sh3
2 files changed, 8 insertions, 1 deletions
diff --git a/backport_all.sh b/backport_all.sh
index c9e789b..28aa4ae 100644
--- a/backport_all.sh
+++ b/backport_all.sh
@@ -11,7 +11,7 @@ export DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
#for i in rpy; do
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward rpy; do
+for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rpy; do
cd $i
rm -rf $i*
rm *.deb
@@ -20,6 +20,10 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survi
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.1
dch -b -v $version -D etch-cran $text
+ sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.7.1-1~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends-Indep/s/r-base-dev (.*)/r-base-dev (>= 2.7.1-1~etchcran.0)/' debian/control
+ dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
+
if [ ${i} == "rpy" ]
then
sed -i '/^Build-Depends/s/texlive-base, texlive-latex-base/tetex-bin, tetex-extra, lapack3-dev/' debian/control
diff --git a/backport_rkward.sh b/backport_rkward.sh
index 8859b90..44b23be 100644
--- a/backport_rkward.sh
+++ b/backport_rkward.sh
@@ -19,6 +19,9 @@ for i in rkward; do
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.1
dch -b -v $version -D etch-cran $text
+ sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.7.1-1~etchcran.0)/' debian/control
+ dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
+
fakeroot dpkg-buildpackage -sa
cd ../..
done

Contact - Imprint