Update dependencies and Summary. Replace PERL_INSTALL_ROOT with DESTDIR
This commit is contained in:
parent
9c5934b4b4
commit
c8fc60b667
@ -1,7 +1,7 @@
|
|||||||
Summary: XML-SAX Perl module
|
Summary: SAX parser access API for Perl
|
||||||
Name: perl-XML-SAX
|
Name: perl-XML-SAX
|
||||||
Version: 0.99
|
Version: 0.99
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
@ -20,6 +20,7 @@ BuildRequires: perl(Exporter)
|
|||||||
BuildRequires: perl(Fatal)
|
BuildRequires: perl(Fatal)
|
||||||
BuildRequires: perl(File::Path)
|
BuildRequires: perl(File::Path)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(XML::NamespaceSupport) >= 0.03
|
BuildRequires: perl(XML::NamespaceSupport) >= 0.03
|
||||||
@ -27,6 +28,7 @@ BuildRequires: perl(XML::NamespaceSupport) >= 0.03
|
|||||||
BuildRequires: perl(XML::SAX::Base)
|
BuildRequires: perl(XML::SAX::Base)
|
||||||
BuildRequires: perl(XML::SAX::Exception)
|
BuildRequires: perl(XML::SAX::Exception)
|
||||||
Requires: perl(:MODULE_COMPAT_%(perl -MConfig -e 'print $Config{version}'))
|
Requires: perl(:MODULE_COMPAT_%(perl -MConfig -e 'print $Config{version}'))
|
||||||
|
Requires: perl(perl(LWP::UserAgent)
|
||||||
|
|
||||||
# Remove bogus XML::SAX::PurePerl* dependencies and unversioned provides
|
# Remove bogus XML::SAX::PurePerl* dependencies and unversioned provides
|
||||||
%global __requires_exclude ^perl\\(XML::SAX::PurePerl
|
%global __requires_exclude ^perl\\(XML::SAX::PurePerl
|
||||||
@ -45,13 +47,18 @@ JAXP specification (SAX part), only without the javaness.
|
|||||||
%setup -q -n XML-SAX-%{version}
|
%setup -q -n XML-SAX-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
# xmltest.xml could not be distributed due to copyright
|
||||||
|
rm testfiles/xmltest.xml
|
||||||
|
rm t/16large.t
|
||||||
|
sed -i -e '/testfiles\/xmltest.xml/ d' MANIFEST
|
||||||
|
sed -i -e '/t\/16large.t/ d' MANIFEST
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo N | %{__perl} Makefile.PL INSTALLDIRS=vendor
|
echo N | %{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
@ -97,6 +104,11 @@ rm -rf "%{perl_vendorlib}/XML/SAX/ParserDetails.ini.backup" || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-7
|
||||||
|
- Update dependencies and summary
|
||||||
|
- Remove xmltest.xml due to copyright
|
||||||
|
- Replace PERL_INSTALL_ROOT with DESTDIR
|
||||||
|
|
||||||
* Wed Aug 15 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-6
|
* Wed Aug 15 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-6
|
||||||
- Fixed incorrect parsing of comments (RT#20126).
|
- Fixed incorrect parsing of comments (RT#20126).
|
||||||
- Specify all dependencies.
|
- Specify all dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user