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