Blame SOURCES/libnet-3.08-Do-not-create-Net-libnet.cfg.patch

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