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