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