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