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