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