summaryrefslogtreecommitdiff
path: root/backport_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport_all.sh')
-rw-r--r--backport_all.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/backport_all.sh b/backport_all.sh
index 3235e2c..593b930 100644
--- a/backport_all.sh
+++ b/backport_all.sh
@@ -10,18 +10,18 @@ export DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
-for i in rodbc; do
-#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy; do
+#for i in rpy; do
+for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy; do
cd $i
rm -rf $i*
rm *.deb
apt-get source -t unstable $i
cd $i-*
- version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.1
+ version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.0
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
+ sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.8.0-1~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends-Indep/s/r-base-dev (.*)/r-base-dev (>= 2.8.0-1~etchcran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
if [ ${i} == "rpy" ]
@@ -29,6 +29,9 @@ for i in rodbc; do
sed -i '/^Build-Depends/s/texlive-base, texlive-latex-base/tetex-bin, tetex-extra, lapack3-dev/' debian/control
dch -a "debian/control: revert Build-Depends: to 'tetex-bin, tetex-extra'"
dch -a "debian/control: add build dependency on 'lapack3-dev'"
+
+ sed -i '/^#include <Rdevices.h> */d' src/RPy.h
+ dch -a "src/RPy.h: remove inclusion of obsolete Rdevices.h"
fi
fakeroot dpkg-buildpackage -sa

Contact - Imprint