diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2007-05-09 09:04:41 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2007-05-09 09:04:41 +0000 |
commit | 315700b69a6cdb76de4ff67385fb8fa39fef9d2a (patch) | |
tree | 7efdde7f1aa2fe9271c3dd7498ef4d46ad8405b1 | |
parent | 6cd659594085271eaf1109f9f47863aa37807c67 (diff) |
Now using dch instead of debian_bundle.changelog
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@16 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r-- | backport_recommended_etch.sh | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/backport_recommended_etch.sh b/backport_recommended_etch.sh index 48dfcb8..2d9a047 100644 --- a/backport_recommended_etch.sh +++ b/backport_recommended_etch.sh @@ -1,20 +1,23 @@ #!/bin/bash -# SVN: $Id$ -# Script to automate building backports from Dirks r-cran-* packages to etch. -# Depends: python-debian, edit_changelog.py -# Author: Johannes Ranke <jranke@uni-bremen.de> -# Comment: First, r-base should be backported and installed -# Last Change: 2007 Mai 01 -#for i in cluster; do +# Script to automate building of r-cran-* packages for Debian. + +# Author: Johannes Ranke <jranke@uni-bremen.de> and +# Vincent Goulet <vincent.goulet@act.ulaval.ca> + +#DEBEMAIL=jranke@uni-bremen.de +#DEBFULLNAME="Johannes Ranke" +text="Recompiled on etch for CRAN" + +#for i in codetools; do +for i in rcompgen rpart survival vr; do #for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr; do -for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do cd $i rm -rf $i* - apt-get source -t unstable r-cran-$i - cd $i-* -# cp ../../r-etch-cran-recommended.mk debian/rules - python ../../edit_changelog_etch.py - fakeroot dpkg-buildpackage - cd ../.. + apt-get source -t unstable $i + cd $i-* + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1 + dch -b -v $version -D etch-cran $text + fakeroot dpkg-buildpackage -sa + cd ../.. done |