auto-import perl-XML-SAX-0.12-6 from perl-XML-SAX-0.12-6.src.rpm
This commit is contained in:
parent
21a2af0bc2
commit
d5f79a1d04
3
filter-requires-xmlsax.sh
Executable file
3
filter-requires-xmlsax.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/lib/rpm/find-requires $* | grep -v 'perl(XML::SAX::PurePerl'
|
@ -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}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user