psabata pushed to perl-Child (master). "0.011 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 4 13:02:36 UTC 2015


From 64ba862694641293c26fa153a5ee17c4a3bcaa88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Thu, 4 Jun 2015 15:02:24 +0200
Subject: 0.011 bump


diff --git a/Child-0.010-M::B.patch b/Child-0.010-M::B.patch
deleted file mode 100644
index 8a2cd8b..0000000
--- a/Child-0.010-M::B.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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/Child-0.011-M::B.patch b/Child-0.011-M::B.patch
new file mode 100644
index 0000000..04f89e5
--- /dev/null
+++ b/Child-0.011-M::B.patch
@@ -0,0 +1,26 @@
+diff --git a/META.json b/META.json
+index 493077c..a65ac77 100644
+--- a/META.json
++++ b/META.json
+@@ -22,7 +22,7 @@
+       },
+       "configure" : {
+          "requires" : {
+-            "Module::Build" : "0.42"
++            "Module::Build" : "0.40"
+          }
+       },
+       "runtime" : {
+diff --git a/META.yml b/META.yml
+index 25744a3..8948a8e 100644
+--- a/META.yml
++++ b/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.4211, CPAN::Meta::Converter version 2.142060'
+ license: perl
diff --git a/perl-Child.spec b/perl-Child.spec
index 4021907..e08764e 100644
--- a/perl-Child.spec
+++ b/perl-Child.spec
@@ -1,24 +1,32 @@
 Name:           perl-Child
-Version:        0.010
-Release:        4%{?dist}
+Version:        0.011
+Release:        1%{?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
+Patch0:         Child-0.011-M::B.patch
 BuildArch:      noarch
-BuildRequires:  perl >= 0:5.006
-BuildRequires:  perl(Capture::Tiny) >= 0.22
-BuildRequires:  perl(Exporter) >= 5.57
+# Build
+BuildRequires:  perl
 BuildRequires:  perl(Module::Build) >= 0.40
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter) >= 5.57
 BuildRequires:  perl(POSIX)
+# Tests only
+BuildRequires:  perl(Capture::Tiny) >= 0.22
 BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       perl(Exporter) >= 5.57
 Requires:       perl(POSIX)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter\\)$
 
 %description
 Fork is too low level, and difficult to manage. Often people forget to exit
@@ -28,17 +36,15 @@ 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
+%patch0 -p1
 
 %build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
 ./Build install --destdir=%{buildroot} --create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -50,6 +56,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 04 2015 Petr Ĺ abata <contyk at redhat.com> - 0.011-1
+- 0.011 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.010-4
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 4412288..16c8e41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148b1414664de3e61c2d98917443f9c0  Child-0.010.tar.gz
+260421fe469fbf734010631ba5649d72  Child-0.011.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Child.git/commit/?h=master&id=64ba862694641293c26fa153a5ee17c4a3bcaa88


More information about the scm-commits mailing list