pghmcfc pushed to perl-Child (perl-Child-0.012-1.fc23). "Update to 0.012 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 30 10:02:06 UTC 2015


From de366c809d3a6d96b6fd37c4bb0926b47ed1903f Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Tue, 30 Jun 2015 10:50:11 +0100
Subject: Update to 0.012

- New upstream release 0.012
  - Switch to Dist::Zilla
  - Switch to new Changes Layout
  - Fix destructor bug (#12)
- Switch to ExtUtils::MakeMaker flow
- Package upstream's new LICENSE file

diff --git a/Child-0.011-M::B.patch b/Child-0.011-M::B.patch
deleted file mode 100644
index 04f89e5..0000000
--- a/Child-0.011-M::B.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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 1a9a682..db56f67 100644
--- a/perl-Child.spec
+++ b/perl-Child.spec
@@ -1,23 +1,22 @@
 Name:           perl-Child
-Version:        0.011
-Release:        3%{?dist}
+Version:        0.012
+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.011-M::B.patch
 BuildArch:      noarch
 # Build
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build) >= 0.40
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Runtime
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter) >= 5.57
 BuildRequires:  perl(POSIX)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Tests only
 BuildRequires:  perl(Capture::Tiny) >= 0.22
 BuildRequires:  perl(Test::More) >= 0.88
@@ -36,26 +35,49 @@ 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 -p1
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
-%{_fixperms} %{buildroot}/*
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
-%doc README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README
+%{perl_vendorlib}/Child.pm
+%{perl_vendorlib}/Child/
+%{_mandir}/man3/Child.3*
+%{_mandir}/man3/Child::IPC::Pipe.3*
+%{_mandir}/man3/Child::Link.3*
+%{_mandir}/man3/Child::Link::IPC.3*
+%{_mandir}/man3/Child::Link::IPC::Pipe.3*
+%{_mandir}/man3/Child::Link::IPC::Pipe::Parent.3*
+%{_mandir}/man3/Child::Link::IPC::Pipe::Proc.3*
+%{_mandir}/man3/Child::Link::Parent.3*
+%{_mandir}/man3/Child::Link::Proc.3*
+%{_mandir}/man3/Child::Util.3*
 
 %changelog
+* Tue Jun 30 2015 Paul Howarth <paul at city-fan.org> - 0.012-1
+- Update to 0.012
+  - Switch to Dist::Zilla
+  - Switch to new Changes Layout
+  - Fix destructor bug (#12)
+- Switch to ExtUtils::MakeMaker flow
+- Package upstream's new LICENSE file
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.011-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 16c8e41..d577397 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-260421fe469fbf734010631ba5649d72  Child-0.011.tar.gz
+1ff5a584c8b5762c76e65d4b6a111268  Child-0.012.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Child.git/commit/?h=perl-Child-0.012-1.fc23&id=de366c809d3a6d96b6fd37c4bb0926b47ed1903f


More information about the perl-devel mailing list