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