From 423788de787e7e1ac06d882f2067c1a7a9395bc5 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 23 Jun 2016 12:15:26 +0100
Subject: Update to 2.04

- New upstream release 2.04
  - Bump requirement for a newer version of Module::Metadata
    (the version that comes with Perl 5.14 cannot handle package block syntax)
- BR: perl-generators
- Simplify find command using -delete
---
 perl-Test-Version.spec | 17 +++++++++++++----
 sources                |  2 +-
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index 3284ba7..d4ad613 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -2,8 +2,8 @@
 %global debug_package %{nil}
 
 Name:          perl-Test-Version
-Version:       2.03
-Release:       4%{?dist}
+Version:       2.04
+Release:       1%{?dist}
 Summary:       Check to see that versions in modules are sane
 License:       Artistic 2.0
 URL:           http://search.cpan.org/dist/Test-Version/
@@ -16,6 +16,7 @@ BuildRequires:        coreutils
 BuildRequires: findutils
 BuildRequires: make
 BuildRequires: perl
+BuildRequires: perl-generators
 BuildRequires: perl(ExtUtils::MakeMaker)
 # ===================================================================
 # Module requirements
@@ -23,7 +24,7 @@ BuildRequires:        perl(ExtUtils::MakeMaker)
 BuildRequires: perl(Carp)
 BuildRequires: perl(Exporter)
 BuildRequires: perl(File::Find::Rule::Perl)
-BuildRequires: perl(Module::Metadata)
+BuildRequires: perl(Module::Metadata) >= 1.000019
 BuildRequires: perl(parent)
 BuildRequires: perl(strict)
 BuildRequires: perl(Test::Builder)
@@ -33,6 +34,7 @@ BuildRequires:        perl(warnings)
 # ===================================================================
 # Regular test suite requirements
 # ===================================================================
+BuildRequires: perl(blib) >= 1.01
 BuildRequires: perl(CPAN::Meta) >= 2.120900
 BuildRequires: perl(File::Spec)
 BuildRequires: perl(IO::Handle)
@@ -78,7 +80,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -94,6 +96,13 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %{_mandir}/man3/Test::Version.3*
 
 %changelog
+* Thu Jun 23 2016 Paul Howarth <p...@city-fan.org> - 2.04-1
+- Update to 2.04
+  - Bump requirement for a newer version of Module::Metadata
+    (the version that comes with Perl 5.14 cannot handle package block syntax)
+- BR: perl-generators
+- Simplify find command using -delete
+
 * Wed May 18 2016 Jitka Plesnikova <jples...@redhat.com> - 2.03-4
 - Perl 5.24 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index cc5ca23..62c9fbc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c614611cbf6def595570112efe17f94c  Test-Version-2.03.tar.gz
+63f6c297836c31e2cd5ffb1c5122bbc4  Test-Version-2.04.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Version.git/commit/?h=master&id=423788de787e7e1ac06d882f2067c1a7a9395bc5
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to