diff --git a/figlet-licpatch.sh b/figlet-licpatch.sh index bfc73a0..5648638 100644 --- a/figlet-licpatch.sh +++ b/figlet-licpatch.sh @@ -7,13 +7,14 @@ if test -f "$1/figlet-$VERSION.tar.gz" ; then if test -d $TMPDIR ; then trap "rm -rf \"$TMPDIR\" \"$1/figlet-$VERSION-patched.tar.bz2\"" ERR cd $TMPDIR - tar -xzf "$1/figlet-$VERSION.tar.gz" - rm -f figlet-$VERSION/fonts/jis0201.flc - tar -cjf "$1/figlet-$VERSION-patched.tar.bz2" figlet-$VERSION + gzip -cd "$1/figlet-$VERSION.tar.gz" > "$1/figlet-$VERSION-patched.tar" + tar --delete -f "$1/figlet-$VERSION-patched.tar" figlet-$VERSION/fonts/jis0201.flc + bzip2 -f "$1/figlet-$VERSION-patched.tar" cd - 1>/dev/null rm -Rf $TMPDIR else echo "creating tmp dir failed" + exit 102 fi else echo "file: $1/figlet-$VERSION.tar.gz doesn't exist" diff --git a/figlet.changes b/figlet.changes index 7595ca0..2376d5e 100644 --- a/figlet.changes +++ b/figlet.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 31 09:57:37 UTC 2017 - bwiedemann@suse.com + +- delete file from tar without repacking + to make build reproducible + ------------------------------------------------------------------- Sat Mar 14 14:26:36 UTC 2015 - benoit.monin@gmx.fr