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