summaryrefslogtreecommitdiff
path: root/backport_others.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport_others.sh')
-rw-r--r--backport_others.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/backport_others.sh b/backport_others.sh
index 29a9d49..2eb82d4 100644
--- a/backport_others.sh
+++ b/backport_others.sh
@@ -7,7 +7,7 @@
# - Set the R version
# R version against which the software is compiled
-Rversion=2.9.1
+Rversion=2.9.2
echo Distribution is $DIST
echo Architecture is $ARCH
@@ -15,17 +15,18 @@ echo Architecture is $ARCH
text="Recompiled on $DIST for CRAN"
#apt-get update
-pbuilder update
+#pbuilder update
#for i in survival; do
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rmatrix rodbc rpart survival vr littler; do
+for i in rpart survival vr littler; do
+#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rmatrix rodbc rpart survival vr littler; do
apt-get source -t unstable $i
cd $i-*
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion
- dch -b -v $version -D $DIST-cran $text
+ dch -b -v $version --force-distribution -D $DIST-cran $text
- sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.1-2~etchcran.0)/' debian/control
- sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.1-2~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.2-1~etchcran.0)/' debian/control
+ sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.2-1~etchcran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"

Contact - Imprint