10ae74
From a40f2774eede8e65dd6128b45525ec88f469e031 Mon Sep 17 00:00:00 2001
10ae74
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
10ae74
Date: Fri, 10 Jul 2015 13:02:00 +0200
10ae74
Subject: [PATCH 2/2] Do not create Net/libnet.cfg
10ae74
MIME-Version: 1.0
10ae74
Content-Type: text/plain; charset=UTF-8
10ae74
Content-Transfer-Encoding: 8bit
10ae74
10ae74
I will remove the Net/libnet.cfg because:
10ae74
10ae74
(1) it's content equals to default configuration hard-coded in the
10ae74
code
10ae74
(2) it's kind of configuration file we do not mark it as a configuration
10ae74
file, so it's overwritten on each update
10ae74
(3) it's loaded from directory based on Net::Config module location.
10ae74
I.e. core module will search it in core path, vendor module in vendor
10ae74
path and site module in site path.
10ae74
10ae74
perl.spec does not provide it either.
10ae74
10ae74
<https://bugzilla.redhat.com/show_bug.cgi?id=1238689>
10ae74
10ae74
Signed-off-by: Petr Písař <ppisar@redhat.com>
10ae74
---
10ae74
 Makefile.PL | 2 +-
10ae74
 1 file changed, 1 insertion(+), 1 deletion(-)
10ae74
10ae74
diff --git a/Makefile.PL b/Makefile.PL
10ae74
index 64d6959..25fc626 100644
10ae74
--- a/Makefile.PL
10ae74
+++ b/Makefile.PL
10ae74
@@ -235,7 +235,7 @@ MAIN: {
10ae74
 sub MY::post_initialize {
10ae74
     my $self = shift;
10ae74
 
10ae74
-    return '' if $self->{PERL_CORE};
10ae74
+    return '';
10ae74
 
10ae74
     if (not -f $CfgFile) {
10ae74
         my @args = qw(Configure);
10ae74
-- 
10ae74
2.5.0
10ae74