Accepting request 500579 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/500579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/figlet?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2017-06-05 16:49:00 +00:00 committed by Git OBS Bridge
commit 207b2be0c8
2 changed files with 10 additions and 3 deletions

View File

@ -7,13 +7,14 @@ if test -f "$1/figlet-$VERSION.tar.gz" ; then
if test -d $TMPDIR ; then if test -d $TMPDIR ; then
trap "rm -rf \"$TMPDIR\" \"$1/figlet-$VERSION-patched.tar.bz2\"" ERR trap "rm -rf \"$TMPDIR\" \"$1/figlet-$VERSION-patched.tar.bz2\"" ERR
cd $TMPDIR cd $TMPDIR
tar -xzf "$1/figlet-$VERSION.tar.gz" gzip -cd "$1/figlet-$VERSION.tar.gz" > "$1/figlet-$VERSION-patched.tar"
rm -f figlet-$VERSION/fonts/jis0201.flc tar --delete -f "$1/figlet-$VERSION-patched.tar" figlet-$VERSION/fonts/jis0201.flc
tar -cjf "$1/figlet-$VERSION-patched.tar.bz2" figlet-$VERSION bzip2 -f "$1/figlet-$VERSION-patched.tar"
cd - 1>/dev/null cd - 1>/dev/null
rm -Rf $TMPDIR rm -Rf $TMPDIR
else else
echo "creating tmp dir failed" echo "creating tmp dir failed"
exit 102
fi fi
else else
echo "file: $1/figlet-$VERSION.tar.gz doesn't exist" echo "file: $1/figlet-$VERSION.tar.gz doesn't exist"

View File

@ -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 Sat Mar 14 14:26:36 UTC 2015 - benoit.monin@gmx.fr