blob: 0221e99a33c5d6464078f6155a9d65ed4233d3f2 (
plain) (
tree)
|
|
#!/bin/bash
# Script to automate "backporting" of packages for Debian if the
# only difference to the upstream packages is the signature.
# Author: Johannes Ranke <jranke@uni-bremen.de>
#DEBEMAIL=jranke@uni-bremen.de
#DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
for i in lattice; do
#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward; 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.2.7.0
dch -b -v $version -D etch-cran $text
fakeroot dpkg-buildpackage -sa
cd ../..
done
|