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