commit 683fc508f4ca07038dc03877a4ddc9862aaa6a0b Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Jun 21 14:37:37 2012 +0200 2.20 bump .gitignore | 1 + perl-XML-Simple.spec | 64 ++++++++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 36 insertions(+), 31 deletions(-) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b43ee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/XML-Simple-2.20.tar.gz diff --git a/perl-XML-Simple.spec b/perl-XML-Simple.spec index ff9ea4a..a4ab46b 100644 --- a/perl-XML-Simple.spec +++ b/perl-XML-Simple.spec @@ -1,63 +1,67 @@ Name: perl-XML-Simple -Version: 2.18 -Release: 12%{?dist} +Version: 2.20 +Release: 1%{?dist} Summary: Easy API to maintain XML in Perl - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/XML-Simple/ 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 -BuildRequires: perl(Tie::IxHash), perl(XML::NamespaceSupport) -BuildRequires: perl(XML::LibXML), perl(XML::LibXML::Common), perl(XML::Parser), perl(XML::SAX) -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(XML::Parser) -# XML-SAX-ExpatXS up to 0.98 has known namespace bugs, and will cause the -# tests to fail if it is installed as the default SAX parser. -BuildConflicts: perl(XML::SAX::ExpatXS) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(Storable) +#BuildRequires: perl(XML::LibXML) +#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 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 parser modules). - %prep %setup -q -n XML-Simple-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/XML/ %{_mandir}/man3/*.3* - %changelog +* Thu Jun 21 2012 Petr Šabata <contyk@xxxxxxxxxx> - 2.20-1 +- 2.20 bump +- Modernize spec + * Fri Jun 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 2.18-12 - Perl 5.16 rebuild diff --git a/sources b/sources index 69624ca..da826a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -593aa8001e5c301cdcdb4bb3b63abc33 XML-Simple-2.18.tar.gz +4d10964e123b76eca36678464daa63cd XML-Simple-2.20.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel