Always use included Module::Install to avoid circular build deps (#906007)
This commit is contained in:
parent
941d1ec7e8
commit
b220aa08f8
@ -1,6 +1,6 @@
|
||||
Name: perl-XML-SAX-Writer
|
||||
Version: 0.53
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: SAX2 Writer
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,12 +8,10 @@ URL: http://search.cpan.org/dist/XML-SAX-Writer/
|
||||
Source0: http://www.cpan.org/modules/by-module/XML/XML-SAX-Writer-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(inc::Module::Install)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Encode) >= 2.12
|
||||
%if ! ( 0%{?rhel} )
|
||||
BuildRequires: perl(Module::Install::AutoManifest)
|
||||
BuildRequires: perl(Module::Install::Repository)
|
||||
%endif
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(Test::More) >= 0.40
|
||||
BuildRequires: perl(XML::Filter::BufferText) >= 1.00
|
||||
BuildRequires: perl(XML::NamespaceSupport) >= 1.00
|
||||
@ -25,15 +23,8 @@ A new XML Writer to match the SAX2 effort.
|
||||
|
||||
%prep
|
||||
%setup -q -n XML-SAX-Writer-%{version}
|
||||
rm -r inc
|
||||
sed -i -e '/^inc\// d' MANIFEST
|
||||
find -type f -exec chmod -x {} +
|
||||
|
||||
%if ( 0%{?rhel} )
|
||||
sed -i -e '/^auto_set_repository/ d' Makefile.PL
|
||||
sed -i -e '/^auto_manifest/ d' Makefile.PL
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -61,6 +52,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 5 2013 Paul Howarth <paul@city-fan.org> - 0.53-3
|
||||
- Always use included Module::Install to avoid circular build deps (#906007)
|
||||
|
||||
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.53-2
|
||||
- Drop BR perl(Module::Install::*) for RHEL
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user