commit f5d212d71f3d84ff78416b605484d0ed144395c2 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Feb 18 18:44:22 2015 +0100 0.72 bump - Use three digits in version .gitignore | 1 + perl-XML-Parser-Lite.spec | 28 ++++++++++++++++++---------- sources | 2 +- 3 files changed, 20 insertions(+), 11 deletions(-) --- diff --git a/.gitignore b/.gitignore index 049ce8c..a173311 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /XML-Parser-Lite-0.719.tar.gz +/XML-Parser-Lite-0.72.tar.gz diff --git a/perl-XML-Parser-Lite.spec b/perl-XML-Parser-Lite.spec index bd6e73d..6218bbe 100644 --- a/perl-XML-Parser-Lite.spec +++ b/perl-XML-Parser-Lite.spec @@ -1,26 +1,31 @@ Name: perl-XML-Parser-Lite -Version: 0.719 -Release: 4%{?dist} +# Use three digits since 0.719 -> 0.72 +%global cpan_version 0.72 +Version: %{cpan_version}0 +Release: 1%{?dist} Summary: Lightweight regexp-based XML parser License: (GPL+ or Artistic) and REX Group: Development/Libraries URL: http://search.cpan.org/dist/XML-Parser-Lite/ -Source0: http://www.cpan.org/authors/id/P/PH/PHRED/XML-Parser-Lite-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/P/PH/PHRED/XML-Parser-Lite-%{cpan_version}.tar.gz # rt#91434 Patch0: perl-XML-Parser-Lite-0.719-tests.patch # rt#98635 Patch1: perl-XML-Parser-Lite-0.719-plan.patch BuildArch: noarch # SOAP::Lite is not actually needed +# Build BuildRequires: perl -BuildRequires: perl(diagnostics) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(re) +# Tests only +BuildRequires: perl(diagnostics) BuildRequires: perl(SOAP::Test) -BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(Test::More) -BuildRequires: perl(warnings) BuildRequires: perl(XMLRPC::Lite) BuildRequires: perl(XMLRPC::Test::Server) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) @@ -31,17 +36,16 @@ XML::Parser. Though not all callbacks are supported, you should be able to use it in the same way you use XML::Parser. %prep -%setup -q -n XML-Parser-Lite-%{version} +%setup -q -n XML-Parser-Lite-%{cpan_version} %patch0 -p1 %patch1 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} + %{_fixperms} %{buildroot}/* %check @@ -53,6 +57,10 @@ make test %{_mandir}/man3/* %changelog +* Wed Feb 18 2015 Petr Šabata <contyk@xxxxxxxxxx> - 0.720-1 +- 0.72 bump +- Use three digits in version + * Mon Sep 08 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.719-4 - Perl 5.20 mass diff --git a/sources b/sources index bf8fe0b..5b38858 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a2da1ddc0248f48f87431544c4926e12 XML-Parser-Lite-0.719.tar.gz +d482cb36f32153b37a8199886dcfe95b XML-Parser-Lite-0.72.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