Modify Source0 path

delete Source1 generate-tarball.sh
replace  XML-SAX-1.00-nopatents.tar.gz  to  XML-SAX-1.00.tar.gz
This commit is contained in:
duyyb 2020-01-10 11:35:42 +08:00
parent d7032c219d
commit b39f87fa7a
4 changed files with 1 additions and 16 deletions

Binary file not shown.

BIN
XML-SAX-1.00.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +0,0 @@
#!/bin/sh
VERSION=$1
tar -xzvf XML-SAX-$VERSION.tar.gz
# xmltest.xml could not be distributed due to copyright
rm XML-SAX-$VERSION/testfiles/xmltest.xml
rm XML-SAX-$VERSION/t/16large.t
sed -i -e '/testfiles\/xmltest.xml/ d' XML-SAX-$VERSION/MANIFEST
sed -i -e '/t\/16large.t/ d' XML-SAX-$VERSION/MANIFEST
tar -czvf XML-SAX-$VERSION-nopatents.tar.gz XML-SAX-$VERSION

View File

@ -7,8 +7,7 @@ Release: 5
License: GPL+ or Artistic
URL: https://metacpan.org/release/XML-SAX
Source0: XML-SAX-%{version}-nopatents.tar.gz
Source1: generate-tarball.sh
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-1.00.tar.gz
Patch0: perl-XML-SAX-0.99-rt20126.patch