diff --git a/.gitignore b/.gitignore index 2f136e3..b67a506 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /IPC-Cmd-0.90.tar.gz /IPC-Cmd-0.92.tar.gz /IPC-Cmd-0.94.tar.gz +/IPC-Cmd-0.96.tar.gz diff --git a/IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch b/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch similarity index 97% rename from IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch rename to IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch index 4e68b36..cbaf1a3 100644 --- a/IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch +++ b/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch @@ -32,7 +32,7 @@ diff --git a/lib/IPC/Cmd.pm b/lib/IPC/Cmd.pm index 13f3c6b..6191dc3 100644 --- a/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; diff --git a/perl-IPC-Cmd.spec b/perl-IPC-Cmd.spec index 70b10b4..9df528f 100644 --- a/perl-IPC-Cmd.spec +++ b/perl-IPC-Cmd.spec @@ -1,8 +1,8 @@ Name: perl-IPC-Cmd # Epoch to compete with perl.spec Epoch: 1 -Version: 0.94 -Release: 4%{?dist} +Version: 0.96 +Release: 1%{?dist} Summary: Finding and running system commands made easy License: GPL+ or Artistic 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 # Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils. # 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 # Build: BuildRequires: coreutils @@ -31,7 +31,7 @@ BuildRequires: perl(IO::Select) BuildRequires: perl(IPC::Open3) BuildRequires: perl(IPC::Run) >= 0.55 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(POSIX) BuildRequires: perl(Socket) @@ -55,12 +55,14 @@ Requires: perl(IO::Handle) Requires: perl(IO::Select) Requires: perl(IPC::Open3) Suggests: perl(IPC::Run) >= 0.55 +Requires: perl(Module::Load::Conditional) >= 0.66 Requires: perl(Params::Check) >= 0.20 Requires: perl(POSIX) Requires: perl(Socket) Requires: perl(Time::HiRes) # 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\\)$ %description @@ -77,7 +79,7 @@ make %{?_smp_mflags} %install 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 %check @@ -89,6 +91,13 @@ make test %{_mandir}/man3/IPC::Cmd.3* %changelog +* Thu Jul 28 2016 Paul Howarth - 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 - 1:0.94-4 - Perl 5.24 rebuild diff --git a/sources b/sources index b4447e8..7fa4435 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -318e663a24d1ba828b09ce8328b428e0 IPC-Cmd-0.94.tar.gz +a058ecb663429ab64d52e50be8110ccf IPC-Cmd-0.96.tar.gz