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

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