auto-import perl-XML-SAX-0.12-6 from perl-XML-SAX-0.12-6.src.rpm

This commit is contained in:
cvsdist 2004-09-09 10:23:39 +00:00
parent 21a2af0bc2
commit d5f79a1d04
2 changed files with 13 additions and 1 deletions

3
filter-requires-xmlsax.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/usr/lib/rpm/find-requires $* | grep -v 'perl(XML::SAX::PurePerl'

View File

@ -1,7 +1,9 @@
%define _use_internal_dependency_generator 0
Summary: XML-SAX Perl module
Name: perl-XML-SAX
Version: 0.12
Release: 5
Release: 6
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SAX/
@ -11,9 +13,16 @@ Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:
Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
Source0: XML-SAX-0.12.tar.gz
Source1: filter-requires-xmlsax.sh
BuildArch: noarch
BuildRequires: perl-XML-NamespaceSupport
# Provide perl-specific find-{provides,requires}.
%define __find_provides /usr/lib/rpm/find-provides.perl
# %%define __find_requires /usr/lib/rpm/find-requires.perl
%define __find_requires %{SOURCE1}
%description
%{summary}.