From db5043144b6016e026553701eaae2caf367bf59e Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 14 Jun 2016 15:43:18 +0100
Subject: Update to 0.11

- New upstream release 0.11
  - Be gentle to older toolchains by avoiding the use of Module::Metadata in
    configure-requires (CPAN RT#115310)
- BR: perl-generators where available
- Simplify find command using -delete
---
 perl-Hash-Util-FieldHash-Compat.spec | 18 +++++++++++++-----
 sources                              |  2 +-
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/perl-Hash-Util-FieldHash-Compat.spec 
b/perl-Hash-Util-FieldHash-Compat.spec
index ddca6ec..73cd419 100644
--- a/perl-Hash-Util-FieldHash-Compat.spec
+++ b/perl-Hash-Util-FieldHash-Compat.spec
@@ -1,6 +1,6 @@
 Name:          perl-Hash-Util-FieldHash-Compat
-Version:       0.10
-Release:       4%{?dist}
+Version:       0.11
+Release:       1%{?dist}
 Summary:       Use Hash::Util::FieldHash or ties, depending on availability
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/Hash-Util-FieldHash-Compat/
@@ -11,9 +11,10 @@ BuildRequires:       coreutils
 BuildRequires: findutils
 BuildRequires: make
 BuildRequires: perl
-BuildRequires: perl(CPAN::Meta::Requirements)
+%if 0%{?fedora} > 20 || 0%{?rhel} > 7
+BuildRequires: perl-generators
+%endif
 BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Module::Metadata)
 # Module Runtime
 BuildRequires: perl(constant)
 BuildRequires: perl(Exporter)
@@ -46,7 +47,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
@@ -64,6 +65,13 @@ make test
 %{_mandir}/man3/Hash::Util::FieldHash::Compat::Heavy.3*
 
 %changelog
+* Tue Jun 14 2016 Paul Howarth <p...@city-fan.org> - 0.11-1
+- Update to 0.11
+  - Be gentle to older toolchains by avoiding the use of Module::Metadata in
+    configure-requires (CPAN RT#115310)
+- BR: perl-generators where available
+- Simplify find command using -delete
+
 * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 0.10-4
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index dd14b9a..d607ba1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-56251f1ce4037bca14efadc1487c9ab1  Hash-Util-FieldHash-Compat-0.10.tar.gz
+8574f75d421b221bb34ee9c58097204a  Hash-Util-FieldHash-Compat-0.11.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Hash-Util-FieldHash-Compat.git/commit/?h=master&id=db5043144b6016e026553701eaae2caf367bf59e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-de...@lists.fedoraproject.org

Reply via email to