diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-06-25 10:06:59 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-06-25 10:06:59 +0000 |
commit | ea37b5789aec00d47c1fb645dd4b7788368d80cf (patch) | |
tree | b7cbeb04780ee63f497dfa9c7ca1bccfa753834d | |
parent | 133a74e5a4a1d867f9d18c08e79c8130d12dc032 (diff) |
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
-rw-r--r-- | backport_all.sh | 6 | ||||
-rw-r--r-- | backport_rkward.sh | 3 |
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 |