From ea37b5789aec00d47c1fb645dd4b7788368d80cf Mon Sep 17 00:00:00 2001 From: ranke Date: Wed, 25 Jun 2008 10:06:59 +0000 Subject: Rebuild of all non r-base packages, adapting the build dependencies, so building with pbuilder (for other architectures) works git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@37 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_all.sh | 6 +++++- backport_rkward.sh | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1