| 12 |
# - Set the R version |
# - Set the R version |
| 13 |
|
|
| 14 |
# R version against which the software is compiled |
# R version against which the software is compiled |
| 15 |
Rversion=2.13.0 |
Rversion=2.13.1 |
| 16 |
|
|
| 17 |
echo Distribution is $DIST |
echo Distribution is $DIST |
| 18 |
echo Architecture is $ARCH |
echo Architecture is $ARCH |
| 23 |
pbuilder update |
pbuilder update |
| 24 |
|
|
| 25 |
for i in r-cran-rjags; do |
for i in r-cran-rjags; do |
| 26 |
#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler rpy rkward; do |
#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler; do |
| 27 |
|
#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler rpy rkward r-cran-rjags; do |
| 28 |
apt-get source $i |
apt-get source $i |
| 29 |
cd $i-* |
cd $i-* |
| 30 |
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion |
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion |
| 31 |
dch -b -v $version --force-distribution -D $DIST-cran $text |
dch -b -v $version --force-distribution -D $DIST-cran $text |
| 32 |
|
|
| 33 |
ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.0-1~lennycran.0)/' debian/control |
ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.1-1~lennycran.0)/' debian/control |
| 34 |
ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.0-1~lennycran.0)/' debian/control |
ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.1-1~lennycran.0)/' debian/control |
| 35 |
|
|
| 36 |
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" |
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" |
| 37 |
|
|