diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-10-26 21:27:20 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-10-26 21:27:20 +0000 |
commit | 7c44a8fbbe12debd53e59877eaecac61c382400e (patch) | |
tree | a20db8a6b9479654d35996c47066f0d1cdecc7ac /backport_rkward.sh | |
parent | f20bf48f90e9e50686c51631d346ce5236f940d4 (diff) |
Used for the 2.8.0 packages that I will send to CRAN soon
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@40 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'backport_rkward.sh')
-rw-r--r-- | backport_rkward.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/backport_rkward.sh b/backport_rkward.sh index 44b23be..fdf64d9 100644 --- a/backport_rkward.sh +++ b/backport_rkward.sh @@ -3,6 +3,9 @@ # Script to automate "backporting" of packages for Debian if the # only difference to the upstream packages is the signature. +# For backporting rkward from the version 0.4.9a currently in testing, I +# manually changed /etc/apt/sources list to this source package archive + # Author: Johannes Ranke <jranke@uni-bremen.de> export DEBEMAIL=jranke@uni-bremen.de @@ -14,14 +17,17 @@ for i in rkward; do cd $i rm -rf $i* rm *.deb - apt-get source -t lenny $i + apt-get source $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.1 + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.0 dch -b -v $version -D etch-cran $text - sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.7.1-1~etchcran.0)/' debian/control + sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.8.0-1~etchcran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" + sed -i '/^#include "Rdevices.h"/d' rkward/rbackend/rembedinternal.cpp + dch -a "rkward/rbackend/rembedinternal.cpp: remove inclusion of obsolete Rdevices.h" + fakeroot dpkg-buildpackage -sa cd ../.. done |