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