summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backport_all.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/backport_all.sh b/backport_all.sh
index 41ab51a..319cc19 100644
--- a/backport_all.sh
+++ b/backport_all.sh
@@ -20,8 +20,8 @@ for i in nlme; do
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.1
dch -b -v $version -D etch-cran $text
- sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control
- sed -i '/^Build-Depends-Indep/s/r-base-dev (.*)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
if [ ${i} == "rpy" ]
@@ -30,18 +30,6 @@ for i in nlme; do
dch -a "debian/control: add build dependencies on lapack3-dev, python-minimal, python-central, tetex-bin and texinfo"
fi
- if [ ${i} == "nlme" ]
- then
- sed -i '/^Build-Depends/s/.*/&, r-cran-lattice, cdbs/' debian/control
- dch -a "debian/control: add build dependency on r-cran-lattice and cdbs"
- fi
-
- if [ ${i} == "rpart" ]
- then
- sed -i '/^Build-Depends/s/.*/&, cdbs/' debian/control
- dch -a "debian/control: add build dependency on cdbs"
- fi
-
fakeroot dpkg-buildpackage -sa
cd ../..
done

Contact - Imprint