Update to 0.96
- New upstream release 0.96 - Require Module::Load::Conditional 0.66 to resolve CVE-2016-1238 (avoid loading optional modules from default .) - Update patch for use of ExtUtils::MM::Utils - Simplify find command using -delete
This commit is contained in:
parent
363e71b565
commit
e13ec770ce
|
@ -7,3 +7,4 @@
|
||||||
/IPC-Cmd-0.90.tar.gz
|
/IPC-Cmd-0.90.tar.gz
|
||||||
/IPC-Cmd-0.92.tar.gz
|
/IPC-Cmd-0.92.tar.gz
|
||||||
/IPC-Cmd-0.94.tar.gz
|
/IPC-Cmd-0.94.tar.gz
|
||||||
|
/IPC-Cmd-0.96.tar.gz
|
||||||
|
|
|
@ -32,7 +32,7 @@ diff --git a/lib/IPC/Cmd.pm b/lib/IPC/Cmd.pm
|
||||||
index 13f3c6b..6191dc3 100644
|
index 13f3c6b..6191dc3 100644
|
||||||
--- a/lib/IPC/Cmd.pm
|
--- a/lib/IPC/Cmd.pm
|
||||||
+++ b/lib/IPC/Cmd.pm
|
+++ b/lib/IPC/Cmd.pm
|
||||||
@@ -230,7 +230,7 @@ sub can_run {
|
@@ -232,7 +232,7 @@ sub can_run {
|
||||||
}
|
}
|
||||||
|
|
||||||
require File::Spec;
|
require File::Spec;
|
|
@ -1,8 +1,8 @@
|
||||||
Name: perl-IPC-Cmd
|
Name: perl-IPC-Cmd
|
||||||
# Epoch to compete with perl.spec
|
# Epoch to compete with perl.spec
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.94
|
Version: 0.96
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Finding and running system commands made easy
|
Summary: Finding and running system commands made easy
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -10,7 +10,7 @@ URL: http://search.cpan.org/dist/IPC-Cmd/
|
||||||
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
|
||||||
# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils.
|
# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils.
|
||||||
# This allows not to require perl-devel. Bug #1129443
|
# This allows not to require perl-devel. Bug #1129443
|
||||||
Patch0: IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch
|
Patch0: IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build:
|
# Build:
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
|
@ -31,7 +31,7 @@ BuildRequires: perl(IO::Select)
|
||||||
BuildRequires: perl(IPC::Open3)
|
BuildRequires: perl(IPC::Open3)
|
||||||
BuildRequires: perl(IPC::Run) >= 0.55
|
BuildRequires: perl(IPC::Run) >= 0.55
|
||||||
BuildRequires: perl(Locale::Maketext::Simple)
|
BuildRequires: perl(Locale::Maketext::Simple)
|
||||||
BuildRequires: perl(Module::Load::Conditional)
|
BuildRequires: perl(Module::Load::Conditional) >= 0.66
|
||||||
BuildRequires: perl(Params::Check) >= 0.20
|
BuildRequires: perl(Params::Check) >= 0.20
|
||||||
BuildRequires: perl(POSIX)
|
BuildRequires: perl(POSIX)
|
||||||
BuildRequires: perl(Socket)
|
BuildRequires: perl(Socket)
|
||||||
|
@ -55,12 +55,14 @@ Requires: perl(IO::Handle)
|
||||||
Requires: perl(IO::Select)
|
Requires: perl(IO::Select)
|
||||||
Requires: perl(IPC::Open3)
|
Requires: perl(IPC::Open3)
|
||||||
Suggests: perl(IPC::Run) >= 0.55
|
Suggests: perl(IPC::Run) >= 0.55
|
||||||
|
Requires: perl(Module::Load::Conditional) >= 0.66
|
||||||
Requires: perl(Params::Check) >= 0.20
|
Requires: perl(Params::Check) >= 0.20
|
||||||
Requires: perl(POSIX)
|
Requires: perl(POSIX)
|
||||||
Requires: perl(Socket)
|
Requires: perl(Socket)
|
||||||
Requires: perl(Time::HiRes)
|
Requires: perl(Time::HiRes)
|
||||||
|
|
||||||
# Filter under-specified dependencies
|
# Filter under-specified dependencies
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Load::Conditional\\)$
|
||||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Check\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Check\\)$
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -77,7 +79,7 @@ make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
%{_fixperms} $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
@ -89,6 +91,13 @@ make test
|
||||||
%{_mandir}/man3/IPC::Cmd.3*
|
%{_mandir}/man3/IPC::Cmd.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 1:0.96-1
|
||||||
|
- Update to 0.96
|
||||||
|
- Require Module::Load::Conditional 0.66 to resolve CVE-2016-1238
|
||||||
|
(avoid loading optional modules from default .)
|
||||||
|
- Update patch for use of ExtUtils::MM::Utils
|
||||||
|
- Simplify find command using -delete
|
||||||
|
|
||||||
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.94-4
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.94-4
|
||||||
- Perl 5.24 rebuild
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue