From 56e520c6d33645c0a092690cdb008d3382087201 Mon Sep 17 00:00:00 2001 From: ranke Date: Wed, 3 Oct 2007 19:36:39 +0000 Subject: - Changed the versioning scheme to avoid uploading different recommended packages with the same version. - Added a README because I always forget the command I use for building r-base git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@19 f247ebf9-aa24-0410-a698-f940e971ad2b --- README | 4 ++++ backport_recommended_etch.sh | 3 ++- build_recommended_etch.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..5a6524a --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +The command used for building the packages is +fakeroot dpkg-buildpackage > ../build_log_r-base_i386 2> ../build_errors_r-base_i386 + +Didn't figure out how to do this with tee yet... diff --git a/backport_recommended_etch.sh b/backport_recommended_etch.sh index 66576bb..6799677 100644 --- a/backport_recommended_etch.sh +++ b/backport_recommended_etch.sh @@ -14,9 +14,10 @@ text="Recompiled on etch for CRAN" for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr; do cd $i rm -rf $i* + rm *.deb apt-get source -t unstable $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1 + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.0 dch -b -v $version -D etch-cran $text fakeroot dpkg-buildpackage -sa cd ../.. diff --git a/build_recommended_etch.sh b/build_recommended_etch.sh index 3dcfc09..2c81392 100644 --- a/build_recommended_etch.sh +++ b/build_recommended_etch.sh @@ -16,7 +16,7 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rp rm *.deb apt-get source -t unstable $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1 + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.0 dch -b -v $version -D etch-cran $text fakeroot dpkg-buildpackage -B cd ../.. -- cgit v1.2.1