Blame SOURCES/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch

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