From e13ec770ce649571b6b60c02b31cea704d9e7af7 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Thu, 28 Jul 2016 15:39:22 +0100 Subject: 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 --- .gitignore | 1 + ...Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch | 46 ---------------------- ...Replace-EU-MM-dependency-with-EU-MM-Utils.patch | 46 ++++++++++++++++++++++ perl-IPC-Cmd.spec | 19 ++++++--- sources | 2 +- 5 files changed, 62 insertions(+), 52 deletions(-) delete mode 100644 IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch create mode 100644 IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch 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.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch deleted file mode 100644 index 4e68b36..0000000 --- a/IPC-Cmd-0.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch +++ /dev/null @@ -1,46 +0,0 @@ -From d96fedc52a7326941ff9a4036bdf2c6ffe100b3b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> -Date: Mon, 18 Apr 2016 15:15:44 +0200 -Subject: [PATCH] Replace EU::MM dependnecy with EU::MM::Utils -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This allows to free from a run-time dependency on fat ExtUtils::MakeMaker. - -<https://bugzilla.redhat.com/show_bug.cgi?id=1129443> - -Signed-off-by: Petr Písař <ppi...@redhat.com> ---- - Makefile.PL | 1 + - lib/IPC/Cmd.pm | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 540012e..a014be8 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -9,6 +9,7 @@ my $prereqs = { - 'File::Spec' => 0, - 'File::Temp' => 0, - 'ExtUtils::MakeMaker' => 0, -+ 'ExtUtils::MM::Utils' => 0, - }; - - WriteMakefile1( -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 { - } - - require File::Spec; -- require ExtUtils::MakeMaker; -+ require ExtUtils::MM::Utils; - - my @possibles; - --- -2.5.5 - diff --git a/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch b/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch new file mode 100644 index 0000000..cbaf1a3 --- /dev/null +++ b/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch @@ -0,0 +1,46 @@ +From d96fedc52a7326941ff9a4036bdf2c6ffe100b3b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> +Date: Mon, 18 Apr 2016 15:15:44 +0200 +Subject: [PATCH] Replace EU::MM dependnecy with EU::MM::Utils +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This allows to free from a run-time dependency on fat ExtUtils::MakeMaker. + +<https://bugzilla.redhat.com/show_bug.cgi?id=1129443> + +Signed-off-by: Petr Písař <ppi...@redhat.com> +--- + Makefile.PL | 1 + + lib/IPC/Cmd.pm | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 540012e..a014be8 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -9,6 +9,7 @@ my $prereqs = { + 'File::Spec' => 0, + 'File::Temp' => 0, + 'ExtUtils::MakeMaker' => 0, ++ 'ExtUtils::MM::Utils' => 0, + }; + + WriteMakefile1( +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 +@@ -232,7 +232,7 @@ sub can_run { + } + + require File::Spec; +- require ExtUtils::MakeMaker; ++ require ExtUtils::MM::Utils; + + my @possibles; + +-- +2.5.5 + 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 <p...@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 <jples...@redhat.com> - 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 -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-IPC-Cmd.git/commit/?h=perl-IPC-Cmd-0.96-1.fc25&id=e13ec770ce649571b6b60c02b31cea704d9e7af7 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org