[perl-IPC-System-Simple] Update to 1.23

Paul Howarth pghmcfc at fedoraproject.org
Wed Oct 9 15:46:33 UTC 2013


commit f62ffa171eb13a4395715761c57f4dddca1c4f19
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Oct 9 16:44:15 2013 +0100

    Update to 1.23
    
    - New upstream release 1.23
      - Silence "Statement unlikely to be reached" warning
      - Repository information fix, and typo fixes
      - Converted to using dzil
    - Specify all dependencies
    - Don't need to remove empty directories from the buildroot
    - Restore EL-5 compatibility

 .gitignore                  |    3 +--
 perl-IPC-System-Simple.spec |   37 +++++++++++++++++++++++++++----------
 sources                     |    2 +-
 3 files changed, 29 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 19f8b56..738054f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-IPC-System-Simple-1.18.tar.gz
-/IPC-System-Simple-1.21.tar.gz
+/IPC-System-Simple-[0-9.]*.tar.gz
diff --git a/perl-IPC-System-Simple.spec b/perl-IPC-System-Simple.spec
index 9ec938a..1da0796 100644
--- a/perl-IPC-System-Simple.spec
+++ b/perl-IPC-System-Simple.spec
@@ -1,30 +1,35 @@
 Name:		perl-IPC-System-Simple 
-Version:	1.21
-Release:	8%{?dist}
+Version:	1.23
+Release:	1%{?dist}
 License:	GPL+ or Artistic 
 Group:		Development/Libraries
 Summary:	Run commands simply, with detailed diagnostics 
-Url:		http://search.cpan.org/dist/IPC-System-Simple
-Source:		http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz 
+URL:		http://search.cpan.org/dist/IPC-System-Simple
+Source0:	http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz 
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -un)
 BuildArch:	noarch
 BuildRequires:	perl(BSD::Resource)
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Config)
+BuildRequires:	perl(constant)
 BuildRequires:	perl(Exporter)
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
 BuildRequires:	perl(File::Basename)
 BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(List::Util)
+BuildRequires:	perl(Pod::Coverage::TrustPod)
 BuildRequires:	perl(POSIX)
+BuildRequires:	perl(re)
 BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(strict)
 BuildRequires:	perl(Test)
-BuildRequires:	perl(Test::Kwalitee)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::NoWarnings)
 BuildRequires:	perl(Test::Perl::Critic)
 BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:	perl(warnings)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Calling Perl's in-built 'system()' function is easy; determining if it
@@ -50,13 +55,16 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
+rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
-make test TEST_AUTHOR=1
+make test TEST_AUTHOR=1 AUTHOR_TESTING=1 RELEASE_TESTING=1
+
+%clean
+rm -rf %{buildroot}
 
 %files
 %doc Changes LICENSE README examples/
@@ -64,6 +72,15 @@ make test TEST_AUTHOR=1
 %{_mandir}/man3/IPC::System::Simple.3pm*
 
 %changelog
+* Wed Oct  9 2013 Paul Howarth <paul at city-fan.org> - 1.23-1
+- Update to 1.23
+  - Silence "Statement unlikely to be reached" warning
+  - Repository information fix, and typo fixes
+  - Converted to using dzil
+- Specify all dependencies
+- Don't need to remove empty directories from the buildroot
+- Restore EL-5 compatibility
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.21-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index d70e538..3c57cba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8215b62fe1b8447b99e17861e2255288  IPC-System-Simple-1.21.tar.gz
+9e8c9ad98aa04b39eb27f850eae700ad  IPC-System-Simple-1.23.tar.gz



More information about the perl-devel mailing list