[perl-Child/epel7] Downgrade Module::Build version requirement from 0.42 to 0.40 (for EPEL-7)

Paul Howarth pghmcfc at fedoraproject.org
Wed Apr 23 23:40:06 UTC 2014


commit d36a262bb91a5e223539ceb3aa7c79e3da1328c2
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Apr 24 00:39:11 2014 +0100

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

 Child-0.010-M::B.patch |   22 ++++++++++++++++++++++
 perl-Child.spec        |   11 +++++++++--
 2 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/Child-0.010-M::B.patch b/Child-0.010-M::B.patch
new file mode 100644
index 0000000..8a2cd8b
--- /dev/null
+++ b/Child-0.010-M::B.patch
@@ -0,0 +1,22 @@
+--- META.json
++++ META.json
+@@ -22,7 +22,7 @@
+       },
+       "configure" : {
+          "requires" : {
+-            "Module::Build" : "0.42"
++            "Module::Build" : "0.40"
+          }
+       },
+       "runtime" : {
+--- META.yml
++++ META.yml
+@@ -6,7 +6,7 @@ build_requires:
+   Capture::Tiny: 0.22
+   Test::More: 0.88
+ 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-Child.spec b/perl-Child.spec
index d59c077..7692f08 100644
--- a/perl-Child.spec
+++ b/perl-Child.spec
@@ -1,16 +1,17 @@
 Name:           perl-Child
 Version:        0.010
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Object oriented simple interface to fork()
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Child/
 Source0:        http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Child-%{version}.tar.gz
+Patch0:         Child-0.010-M::B.patch
 BuildArch:      noarch
 BuildRequires:  perl >= 0:5.006
 BuildRequires:  perl(Capture::Tiny) >= 0.22
 BuildRequires:  perl(Exporter) >= 5.57
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Module::Build) >= 0.40
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Test::More) >= 0.88
 Requires:       perl(Exporter) >= 5.57
@@ -28,6 +29,9 @@ you just have a pile of things nobody wants to think about.
 %prep
 %setup -q -n Child-%{version}
 
+# Downgrade Module::Build version requirement from 0.42 to 0.40
+%patch0
+
 %build
 %{__perl} Build.PL --installdirs=vendor
 ./Build
@@ -46,6 +50,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 23 2014 Paul Howarth <paul at city-fan.org> - 0.010-2
+- Downgrade Module::Build version requirement from 0.42 to 0.40
+
 * Wed Apr 23 2014 Paul Howarth <paul at city-fan.org> - 0.010-1
 - Update to 0.010
   - Processes created by fork will have negative pids on Windows



More information about the perl-devel mailing list