[perl-Fennec] Downgrade Module::Build version requirement to 0.40 (for EPEL-7)

Paul Howarth pghmcfc at fedoraproject.org
Thu Apr 24 11:10:16 UTC 2014


commit c5c8d6905e75f5aaef9110925071a75dd83474da
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Apr 24 12:09:49 2014 +0100

    Downgrade Module::Build version requirement to 0.40 (for EPEL-7)

 Fennec-2.017-M::B.patch |   22 ++++++++++++++++++++++
 perl-Fennec.spec        |   11 +++++++++--
 2 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/Fennec-2.017-M::B.patch b/Fennec-2.017-M::B.patch
new file mode 100644
index 0000000..1981461
--- /dev/null
+++ b/Fennec-2.017-M::B.patch
@@ -0,0 +1,22 @@
+--- META.json
++++ META.json
+@@ -16,7 +16,7 @@
+    "prereqs" : {
+       "configure" : {
+          "requires" : {
+-            "Module::Build" : "0.42"
++            "Module::Build" : "0.40"
+          }
+       },
+       "runtime" : {
+--- META.yml
++++ META.yml
+@@ -4,7 +4,7 @@ author:
+   - 'Chad Granum <exodist7 at gmail.com>'
+ build_requires: {}
+ configure_requires:
+-  Module::Build: 0.42
++  Module::Build: 0.40
+ dynamic_config: 1
+ generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.120921'
+ license: perl
diff --git a/perl-Fennec.spec b/perl-Fennec.spec
index ada8f36..7324f41 100644
--- a/perl-Fennec.spec
+++ b/perl-Fennec.spec
@@ -3,15 +3,16 @@
 
 Name:		perl-Fennec
 Version:	2.017
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A tester's toolbox, and best friend
 License:	GPL+ or Artistic
 URL:		https://metacpan.org/release/Fennec
 Source0:	http://cpan.metacpan.org/authors/id/E/EX/EXODIST/Fennec-%{version}.tar.gz
+Patch0:		Fennec-2.017-M::B.patch
 BuildArch:	noarch
 # Module Build
 BuildRequires:	perl
-BuildRequires:	perl(Module::Build) >= 0.42
+BuildRequires:	perl(Module::Build) >= 0.40
 # Module Runtime
 BuildRequires:	perl(B)
 BuildRequires:	perl(base)
@@ -54,6 +55,9 @@ makes testing easier, and more useful.
 %prep
 %setup -q -n Fennec-%{version}
 
+# Downgrade Module::Build version requirement to 0.40 (for EPEL-7)
+%patch0
+
 %build
 perl Build.PL --installdirs=vendor
 ./Build
@@ -100,6 +104,9 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/Test::Workflow::Test.3pm*
 
 %changelog
+* Thu Apr 24 2014 Paul Howarth <paul at city-fan.org> - 2.017-2
+- Downgrade Module::Build version requirement to 0.40 (for EPEL-7)
+
 * Wed Apr 23 2014 Paul Howarth <paul at city-fan.org> - 2.017-1
 - Update to 2.017
   - Require newer Child.pm



More information about the perl-devel mailing list