[perl-autodie] Run-require IPC::System::Simple for fatalizing system()

Petr Pisar ppisar at fedoraproject.org
Mon Jan 19 09:40:06 UTC 2015


commit 4dc17e12527be52132d00db1ce8bbdd88a7ae2e4
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Jan 19 10:40:24 2015 +0100

    Run-require IPC::System::Simple for fatalizing system()

 perl-autodie.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/perl-autodie.spec b/perl-autodie.spec
index d9567ef..39260f2 100644
--- a/perl-autodie.spec
+++ b/perl-autodie.spec
@@ -1,6 +1,6 @@
 Name:           perl-autodie
 Version:        2.26
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Replace functions with ones that succeed or die
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -52,8 +52,12 @@ BuildRequires:  perl(Import::Into)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(B)
 Requires:       perl(Fcntl)
-# Keep IPC::System::Simple 0.12 optional
 Requires:       perl(POSIX)
+# Optional:
+%if !%{defined perl_bootstrap}
+# IPC::System::Simple dependency requested, bug #1183231
+Requires:  perl(IPC::System::Simple) >= 0.12
+%endif
 
 # Remove falsely detected perl(lib)
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(lib\\)$
@@ -88,6 +92,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jan 19 2015 Petr Pisar <ppisar at redhat.com> - 2.26-2
+- Run-require IPC::System::Simple for fatalizing system() (bug #1183231)
+
 * Mon Jan 05 2015 Petr Pisar <ppisar at redhat.com> - 2.26-1
 - 2.26 bump
 


More information about the scm-commits mailing list