summaryrefslogtreecommitdiff
path: root/backport_r-base.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport_r-base.sh')
-rw-r--r--backport_r-base.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/backport_r-base.sh b/backport_r-base.sh
index fa07ab9..63a821e 100644
--- a/backport_r-base.sh
+++ b/backport_r-base.sh
@@ -65,6 +65,11 @@ dch -v "${cranversion}" --force-distribution -D $DIST-cran -b "Backport from Deb
sed -i '/^Depends/s/dpkg (>= 1.15.4) | install-info/dpkg | install-info/' debian/control
dch -a "debian/control: revert Depends: to 'dpkg | install-info' for r-doc-info since ${DISTRIB_DESCRIPTION} has a version of dpkg < 1.15.4 and no separate package install-info"
+ # 3. liblzma is not available in Debian distributions before squeeze
+
+ sed -i '/^Build-Depends/s/, liblzma-dev//' debian/control
+ dch -a "debian/control: Remove dependency to liblzma-dev as it is not available in ${DISTRIB_DESCRIPTION}. As a consequence, the version provided in the R sources is used"
+
# Reverts for etch only:
if [ $DIST = "etch" ]
then
@@ -122,7 +127,7 @@ then
sed -i '/^Build-Depends/s/, openjdk-6-jdk \[!arm !hppa !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386\]//' debian/control
dch -a "debian/control: Remove build dependence on openjdk"
- # 8. Debhelper in etch is 5.0.42
+ # 8. Debhelper in etch is 5.0.42
echo 5 > debian/compat
dch -a "debian/compat: revert 'debhelper' compatibility level to 5"
@@ -133,7 +138,7 @@ then
dch -a "debian/control: revert Depends: of r-base-core to 'ucf' since the version in etch is < 3.0"
fi
-pbuilder update
+#pbuilder update
pdebuild --debbuildopts '-sa' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
if [ $? -ne 0 ]; then
exit

Contact - Imprint