diff options
-rw-r--r-- | backport_all.sh | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/backport_all.sh b/backport_all.sh index 0221e99..57a4515 100644 --- a/backport_all.sh +++ b/backport_all.sh @@ -5,12 +5,13 @@ # Author: Johannes Ranke <jranke@uni-bremen.de> -#DEBEMAIL=jranke@uni-bremen.de -#DEBFULLNAME="Johannes Ranke" +export DEBEMAIL=jranke@uni-bremen.de +export DEBFULLNAME="Johannes Ranke" + text="Recompiled on etch for CRAN" -for i in lattice; do -#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward; do +for i in rpy; do +#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward rpy; do cd $i rm -rf $i* rm *.deb @@ -18,6 +19,13 @@ for i in lattice; do cd $i-* version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.0 dch -b -v $version -D etch-cran $text + + if [ ${i} == "rpy" ] + then + sed -i '/^Build-Depends/s/texinfo, texi2html, texlive-base, texlive-latex-base/tetex-bin, tetex-extra/' debian/control + dch -a "debian/control: revert Build-Depends: to 'tetex-bin, tetex-extra'" + fi + fakeroot dpkg-buildpackage -sa cd ../.. done |