From bfe7dfc21d2dc487c689c6ea158785ad5a651b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 18 Apr 2016 16:45:36 +0200 Subject: [PATCH] Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils in IPC::Cmd --- ...pendnecy-with-EU-MM-Utils-in-IPC-Cmd.patch | 34 +++++++++++++++++++ perl.spec | 9 ++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch diff --git a/perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch b/perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch new file mode 100644 index 0000000..572d37e --- /dev/null +++ b/perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch @@ -0,0 +1,34 @@ +From 216ddd39adb0043930acad70ff242c30a1b0c6cf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 18 Apr 2016 16:39:32 +0200 +Subject: [PATCH] Replace EU::MM dependnecy with EU::MM::Utils in IPC::Cmd +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. + + + +Signed-off-by: Petr Písař +--- + cpan/IPC-Cmd/lib/IPC/Cmd.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/IPC-Cmd/lib/IPC/Cmd.pm b/cpan/IPC-Cmd/lib/IPC/Cmd.pm +index 6a82bdf..b6cd7ef 100644 +--- a/cpan/IPC-Cmd/lib/IPC/Cmd.pm ++++ b/cpan/IPC-Cmd/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/perl.spec b/perl.spec index d98a9ba..0f47718 100644 --- a/perl.spec +++ b/perl.spec @@ -97,6 +97,9 @@ Patch28: perl-5.22.0-Revert-const-the-core-magic-vtables.patch # in upstream after 5.23.8 Patch29: perl-5.23.8-remove-duplicate-environment-variables-from-environ.patch +# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils. +# This allows not to require perl-devel. Bug #1129443 +Patch30: perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048 Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch @@ -1304,7 +1307,7 @@ License: GPL+ or Artistic # Epoch bump for clean upgrade over old standalone package Epoch: 1 Version: 0.92 -Requires: perl(ExtUtils::MakeMaker) +Requires: perl(ExtUtils::MM::Utils) Requires: %perl_compat BuildArch: noarch @@ -2385,6 +2388,7 @@ Perl extension for Version Objects %patch27 -p1 %patch28 -p1 %patch29 -p1 +%patch30 -p1 %patch200 -p1 %patch201 -p1 @@ -2406,6 +2410,7 @@ perl -x patchlevel.h \ 'Fedora Patch27: Make PadlistNAMES() lvalue again (CPAN RT#101063)' \ 'Fedora Patch28: Make magic vtable writable as a work-around for Coro (CPAN RT#101063)' \ 'Fedora Patch29: Fix CVE-2016-2381 (ambiguous environment variables handling)' \ + 'Fedora Patch30: Replace EU::MakeMaker dependency with EU::MM::Utils in IPC::Cmd (bug #1129443)' \ 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux' \ 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \ %{nil} @@ -4682,6 +4687,8 @@ popd - Remove perl-ExtUtils-ParseXS dependency on perl-devel (bug #1129443) - Require perl-devel by perl-ExtUtils-MakeMaker - Provide MM::maybe_command independently (bug #1129443) +- Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils in IPC::Cmd + (bug #1129443) * Tue Mar 15 2016 Petr Pisar - 4:5.22.1-359 - Do not filter FCGI dependency, CGI is non-core now