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