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