diff --git a/a2ps-generate-tarball.sh b/a2ps-generate-tarball.sh new file mode 100755 index 0000000..f5aa5ec --- /dev/null +++ b/a2ps-generate-tarball.sh @@ -0,0 +1,20 @@ +#!/bin/sh +VERSION=$1 + +TMPDIR=tarball-arena +rm -rf "$TMPDIR" a2ps-$VERSION-GPL.tar.gz +mkdir "$TMPDIR" +tar zxf a2ps-$VERSION.tar.gz -C "$TMPDIR" +cd "$TMPDIR" +for f in \ + tests/gps-ref/Converter.ps \ + tests/gps-ref/fasttrig.ps \ + tests/ps-ref/Converter.ps \ + tests/ps-ref/fasttrig.ps \ + tests/tstfiles/Converter.java \ + tests/tstfiles/fasttrig.pas +do + rm -f a2ps-*/"$f" +done + +tar zcf ../a2ps-$VERSION-GPL.tar.gz a2ps-* diff --git a/a2ps.spec b/a2ps.spec index b4add59..419569b 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,7 +1,7 @@ Summary: Converts text and other types of files to PostScript(TM) Name: a2ps Version: 4.13b -Release: 63%{?dist} +Release: 64%{?dist} License: GPL Group: Applications/Publishing #Source0: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz @@ -12,7 +12,7 @@ Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz # shipping it. Download the upstream tarball and invoke this script # while in the same directory as the tarball: # ./generate-tarball.sh 4.13b -Source2: generate-tarball.sh +Source2: a2ps-generate-tarball.sh Patch0: a2ps-4.13-conf.patch Patch1: a2ps-4.13-etc.patch Patch2: a2ps-4.13-flex.patch @@ -259,6 +259,9 @@ exit 0 %dir %{_datadir}/a2ps %changelog +* Mon Mar 12 2007 Tim Waugh 4.13b-64 +- Renamed tarball generation script (bug #225235). + * Fri Mar 9 2007 Tim Waugh 4.13b-63 - Removed bad files (bug #225235). - Add sysconfdir/a2ps to search path (bug #225235).