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