[perl-System-Command] 1.110 bump

Petr Pisar ppisar at fedoraproject.org
Fri Nov 14 13:34:48 UTC 2014


commit 21b18c94df7f0c7a61fc80dd539837efbc065f68
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Nov 14 14:34:30 2014 +0100

    1.110 bump

 .gitignore               |    1 +
 perl-System-Command.spec |   50 +++++++++++++++++++++++++++++++++------------
 sources                  |    2 +-
 3 files changed, 38 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1f918f..0e16348 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /System-Command-1.08.tar.gz
 /System-Command-1.09.tar.gz
 /System-Command-1.100.tar.gz
+/System-Command-1.110.tar.gz
diff --git a/perl-System-Command.spec b/perl-System-Command.spec
index 78e2839..a87c39e 100644
--- a/perl-System-Command.spec
+++ b/perl-System-Command.spec
@@ -1,28 +1,47 @@
 Name:           perl-System-Command
-Version:        1.100
-Release:        5%{?dist}
+Version:        1.110
+Release:        1%{?dist}
 Summary:        Object for running system commands
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/System-Command/
 Source0:        http://www.cpan.org/authors/id/B/BO/BOOK/System-Command-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Config)
+BuildRequires:  perl(constant)
 BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Fcntl)
 BuildRequires:  perl(IO::Handle)
-BuildRequires:  perl(IPC::Open3)
+# IPC::Run not used on Linux
 BuildRequires:  perl(List::Util)
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Symbol)
+# Tests:
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More) >= 0.88
+# Optional tests:
+# Pod::Coverage::TrustPod not used
 BuildRequires:  perl(Test::Command)
-BuildRequires:  perl(Test::More)
+# Test::CPAN::Meta not used
 BuildRequires:  perl(Test::Output)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+# Test::Pod 1.41 not used
+# Test::Pod::Coverage 1.08 not used
 BuildRequires:  perl(Time::HiRes)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Data::Dumper)
+
+# IPC::Run not used on Linux
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IPC::Run\\)
 
 %description
 System::Command is a class that launches external system commands and
@@ -33,23 +52,26 @@ their STDIN, STDOUT and STDERR handles.
 %setup -q -n System-Command-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
-
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}/*
 
 %check
-./Build test
+make test
 
 %files
-%doc Changes README
+%doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 14 2014 Petr Pisar <ppisar at redhat.com> - 1.110-1
+- 1.110 bump
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.100-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index e9936cf..6c989ee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4174aa91b6f032b97549ba9aec5dc714  System-Command-1.100.tar.gz
+19166c2d22250544ea928481b726900c  System-Command-1.110.tar.gz



More information about the perl-devel mailing list