Blame SOURCES/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch
|
|
e7a2be |
From d96fedc52a7326941ff9a4036bdf2c6ffe100b3b Mon Sep 17 00:00:00 2001
|
|
|
e7a2be |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
|
e7a2be |
Date: Mon, 18 Apr 2016 15:15:44 +0200
|
|
|
e7a2be |
Subject: [PATCH] Replace EU::MM dependnecy with EU::MM::Utils
|
|
|
e7a2be |
MIME-Version: 1.0
|
|
|
e7a2be |
Content-Type: text/plain; charset=UTF-8
|
|
|
e7a2be |
Content-Transfer-Encoding: 8bit
|
|
|
e7a2be |
|
|
|
e7a2be |
This allows to free from a run-time dependency on fat ExtUtils::MakeMaker.
|
|
|
e7a2be |
|
|
|
e7a2be |
<https://bugzilla.redhat.com/show_bug.cgi?id=1129443>
|
|
|
e7a2be |
|
|
|
e7a2be |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
e7a2be |
---
|
|
|
e7a2be |
Makefile.PL | 1 +
|
|
|
e7a2be |
lib/IPC/Cmd.pm | 2 +-
|
|
|
e7a2be |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
e7a2be |
|
|
|
e7a2be |
diff --git a/Makefile.PL b/Makefile.PL
|
|
|
e7a2be |
index 540012e..a014be8 100644
|
|
|
e7a2be |
--- a/Makefile.PL
|
|
|
e7a2be |
+++ b/Makefile.PL
|
|
|
e7a2be |
@@ -9,6 +9,7 @@ my $prereqs = {
|
|
|
e7a2be |
'File::Spec' => 0,
|
|
|
e7a2be |
'File::Temp' => 0,
|
|
|
e7a2be |
'ExtUtils::MakeMaker' => 0,
|
|
|
e7a2be |
+ 'ExtUtils::MM::Utils' => 0,
|
|
|
e7a2be |
};
|
|
|
e7a2be |
|
|
|
e7a2be |
WriteMakefile1(
|
|
|
e7a2be |
diff --git a/lib/IPC/Cmd.pm b/lib/IPC/Cmd.pm
|
|
|
e7a2be |
index 13f3c6b..6191dc3 100644
|
|
|
e7a2be |
--- a/lib/IPC/Cmd.pm
|
|
|
e7a2be |
+++ b/lib/IPC/Cmd.pm
|
|
|
e7a2be |
@@ -232,7 +232,7 @@ sub can_run {
|
|
|
e7a2be |
}
|
|
|
e7a2be |
|
|
|
e7a2be |
require File::Spec;
|
|
|
e7a2be |
- require ExtUtils::MakeMaker;
|
|
|
e7a2be |
+ require ExtUtils::MM::Utils;
|
|
|
e7a2be |
|
|
|
e7a2be |
my @possibles;
|
|
|
e7a2be |
|
|
|
e7a2be |
--
|
|
|
e7a2be |
2.5.5
|
|
|
e7a2be |
|