diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-12-30 23:53:42 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-12-30 23:53:42 +0000 |
commit | 44a814773d2c17804e75392d6e2f8be5885d47ea (patch) | |
tree | c1f69f740773a2ae63f13b7999ad7886355efb81 | |
parent | 550280a786fd0de3accc959b03860ebb185795e6 (diff) |
Fix to greedy pattern matching which caused the loss of build dependencies in the first place
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@49 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r-- | backport_all.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/backport_all.sh b/backport_all.sh index 41ab51a..319cc19 100644 --- a/backport_all.sh +++ b/backport_all.sh @@ -20,8 +20,8 @@ for i in nlme; do version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.1 dch -b -v $version -D etch-cran $text - sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control - sed -i '/^Build-Depends-Indep/s/r-base-dev (.*)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control + sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control + sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" if [ ${i} == "rpy" ] @@ -30,18 +30,6 @@ for i in nlme; do dch -a "debian/control: add build dependencies on lapack3-dev, python-minimal, python-central, tetex-bin and texinfo" fi - if [ ${i} == "nlme" ] - then - sed -i '/^Build-Depends/s/.*/&, r-cran-lattice, cdbs/' debian/control - dch -a "debian/control: add build dependency on r-cran-lattice and cdbs" - fi - - if [ ${i} == "rpart" ] - then - sed -i '/^Build-Depends/s/.*/&, cdbs/' debian/control - dch -a "debian/control: add build dependency on cdbs" - fi - fakeroot dpkg-buildpackage -sa cd ../.. done |