diff options
-rw-r--r-- | backport_others.sh | 8 | ||||
-rw-r--r-- | backport_r-base.sh | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/backport_others.sh b/backport_others.sh index 86a762c..b0e9b8e 100644 --- a/backport_others.sh +++ b/backport_others.sh @@ -4,7 +4,7 @@ # sudo -E sh backport_others.sh # Preconditions: - shell variables DIST and ARCH -# - current R backport in /etc/apt/sources/list +# - current R backport in /etc/apt/sources/list of pbuilder chroot # - sid sources in /etc/apt/sources/list # - ssed and cdbs installed (and maybe more) # - Edit R version and the sed scripts below (don't forget @@ -12,7 +12,7 @@ # - Set the R version # R version against which the software is compiled -Rversion=2.15.1 +Rversion=2.15.3 echo Distribution is $DIST echo Architecture is $ARCH @@ -33,8 +33,8 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-clas version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion dch -b -v $version --force-distribution -D $DIST-cran $text - ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.1-1~squeezecran.0)/' debian/control - ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.1-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" diff --git a/backport_r-base.sh b/backport_r-base.sh index 61d6b87..74ed659 100644 --- a/backport_r-base.sh +++ b/backport_r-base.sh @@ -46,7 +46,12 @@ echo CRAN version is $cranversion dch -v "${cranversion}" --force-distribution -D $DIST-cran -b "Backport from Debian unstable to Debian $DIST" # Reverts for squeeze and lenny: -# None at present + # 1. Starting with Debian packages for R 2.15.3 there is a build + # dependency on 'libtiff5-dev' which is not in squeeze. Changing to + # libtiff-dev, which is libtiff4-dev on squeeze. + + sed -i '/^Build-Depends/s/libtiff5-dev/libtiff-dev/' debian/control + dch -a "debian/control: Change Build-Depends: from libtiff5-dev to libtiff-dev" # Reverts for lenny only: if [ $DIST = "lenny" ] |