| 65 |
sed -i '/^Depends/s/dpkg (>= 1.15.4) | install-info/dpkg | install-info/' debian/control |
sed -i '/^Depends/s/dpkg (>= 1.15.4) | install-info/dpkg | install-info/' debian/control |
| 66 |
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" |
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" |
| 67 |
|
|
| 68 |
|
# 3. liblzma is not available in Debian distributions before squeeze |
| 69 |
|
|
| 70 |
|
sed -i '/^Build-Depends/s/, liblzma-dev//' debian/control |
| 71 |
|
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" |
| 72 |
|
|
| 73 |
# Reverts for etch only: |
# Reverts for etch only: |
| 74 |
if [ $DIST = "etch" ] |
if [ $DIST = "etch" ] |
| 75 |
then |
then |
| 138 |
dch -a "debian/control: revert Depends: of r-base-core to 'ucf' since the version in etch is < 3.0" |
dch -a "debian/control: revert Depends: of r-base-core to 'ucf' since the version in etch is < 3.0" |
| 139 |
fi |
fi |
| 140 |
|
|
| 141 |
pbuilder update |
#pbuilder update |
| 142 |
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 |
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 |
| 143 |
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |
| 144 |
exit |
exit |