From 200d4138ae81af8413cb1c7febfe25bdcd47e553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Fri, 4 Dec 2015 16:54:28 +0100 Subject: 2.21 bump
- Package the license text - Spec cleanup --- .gitignore | 1 + perl-XML-Simple.spec | 52 +++++++++++++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 7b43ee6..51d0bcb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /XML-Simple-2.20.tar.gz +/XML-Simple-2.21.tar.gz diff --git a/perl-XML-Simple.spec b/perl-XML-Simple.spec index fbdc83a..a57580d 100644 --- a/perl-XML-Simple.spec +++ b/perl-XML-Simple.spec @@ -1,36 +1,46 @@ Name: perl-XML-Simple -Version: 2.20 -Release: 11%{?dist} +Version: 2.21 +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 BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Basename) BuildRequires: perl(IO::Handle) BuildRequires: perl(Storable) -#BuildRequires: perl(XML::LibXML) -#BuildRequires: perl(XML::LibXML::Common) -BuildRequires: perl(XML::NamespaceSupport) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +BuildRequires: perl(warnings::register) +BuildRequires: perl(XML::NamespaceSupport) >= 1.04 BuildRequires: perl(XML::Parser) -BuildRequires: perl(XML::SAX) +BuildRequires: perl(XML::SAX) >= 0.15 # Tests only BuildRequires: perl(base) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FileHandle) BuildRequires: perl(IO::File) BuildRequires: perl(Test::More) -BuildRequires: perl(Tie::IxHash) BuildRequires: perl(XML::SAX::Base) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Optional tests only +BuildRequires: perl(Tie::IxHash) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(File::Basename) Requires: perl(File::Spec) Requires: perl(IO::Handle) Requires: perl(Storable) -Requires: perl(XML::NamespaceSupport) +Requires: perl(XML::NamespaceSupport) >= 1.04 Requires: perl(XML::Parser) -Requires: perl(XML::SAX) +Requires: perl(XML::SAX) >= 0.15 %description The XML::Simple module provides a simple API layer on top of an @@ -41,24 +51,28 @@ parser modules). %setup -q -n XML-Simple-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -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 ';' +make pure_install DESTDIR=%{buildroot} chmod -R u+w %{buildroot}/* %check make test %files +%license LICENSE %doc Changes README -%{perl_vendorlib}/XML/ -%{_mandir}/man3/*.3* +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Fri Dec 04 2015 Petr Ĺ abata <con...@redhat.com> - 2.21-1 +- 2.21 bump +- Package the license text +- Spec cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 2.20-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index da826a5..4e44efb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4d10964e123b76eca36678464daa63cd XML-Simple-2.20.tar.gz +2e8f242a21d1e0980e24d73e43c667fb XML-Simple-2.21.tar.gz -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-XML-Simple.git/commit/?h=master&id=200d4138ae81af8413cb1c7febfe25bdcd47e553 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org