2.20 bump
This commit is contained in:
parent
fd93ca6e13
commit
683fc508f4
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/XML-Simple-2.20.tar.gz
|
@ -1,63 +1,67 @@
|
|||||||
Name: perl-XML-Simple
|
Name: perl-XML-Simple
|
||||||
Version: 2.18
|
Version: 2.20
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easy API to maintain XML in Perl
|
Summary: Easy API to maintain XML in Perl
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/XML-Simple/
|
URL: http://search.cpan.org/dist/XML-Simple/
|
||||||
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Tie::IxHash), perl(XML::NamespaceSupport)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(XML::LibXML), perl(XML::LibXML::Common), perl(XML::Parser), perl(XML::SAX)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
BuildRequires: perl(File::Spec)
|
||||||
Requires: perl(XML::Parser)
|
BuildRequires: perl(IO::Handle)
|
||||||
# XML-SAX-ExpatXS up to 0.98 has known namespace bugs, and will cause the
|
BuildRequires: perl(Storable)
|
||||||
# tests to fail if it is installed as the default SAX parser.
|
#BuildRequires: perl(XML::LibXML)
|
||||||
BuildConflicts: perl(XML::SAX::ExpatXS)
|
#BuildRequires: perl(XML::LibXML::Common)
|
||||||
|
BuildRequires: perl(XML::NamespaceSupport)
|
||||||
|
BuildRequires: perl(XML::Parser)
|
||||||
|
BuildRequires: perl(XML::SAX)
|
||||||
|
# Tests only
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(IO::File)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Tie::IxHash)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(File::Spec)
|
||||||
|
Requires: perl(File::Spec)
|
||||||
|
Requires: perl(Storable)
|
||||||
|
Requires: perl(XML::NamespaceSupport)
|
||||||
|
Requires: perl(XML::Parser)
|
||||||
|
Requires: perl(XML::SAX)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The XML::Simple module provides a simple API layer on top of an
|
The XML::Simple module provides a simple API layer on top of an
|
||||||
underlying XML parsing module (either XML::Parser or one of the SAX2
|
underlying XML parsing module (either XML::Parser or one of the SAX2
|
||||||
parser modules).
|
parser modules).
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-Simple-%{version}
|
%setup -q -n XML-Simple-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
chmod -R u+w %{buildroot}/*
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/XML/
|
%{perl_vendorlib}/XML/
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 21 2012 Petr Šabata <contyk@redhat.com> - 2.20-1
|
||||||
|
- 2.20 bump
|
||||||
|
- Modernize spec
|
||||||
|
|
||||||
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.18-12
|
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.18-12
|
||||||
- Perl 5.16 rebuild
|
- Perl 5.16 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user