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