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