diff --git a/.gitignore b/.gitignore index 0cfab7e..e20ebda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libnet-3.06.tar.gz /libnet-3.07.tar.gz +/libnet-3.08.tar.gz diff --git a/libnet-3.07-Do-not-create-Net-libnet.cfg.patch b/libnet-3.07-Do-not-create-Net-libnet.cfg.patch deleted file mode 100644 index 2a44ddf..0000000 --- a/libnet-3.07-Do-not-create-Net-libnet.cfg.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 04650764581bb2297a5dfdd9a15c53c63e5eeafd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Fri, 10 Jul 2015 13:02:00 +0200 -Subject: [PATCH] Do not create Net/libnet.cfg -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -I will remove the Net/libnet.cfg because: - -(1) it's content equals to default configuration hard-coded in the -code -(2) it's kind of configuration file we do not mark it as a configuration -file, so it's overwritten on each update -(3) it's loaded from directory based on Net::Config module location. -I.e. core module will search it in core path, vendor module in vendor -path and site module in site path. - -perl.spec does not provide it either. - - - -Signed-off-by: Petr Písař ---- - Makefile.PL | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 872eac8..750acc6 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -235,7 +235,7 @@ MAIN: { - sub MY::post_initialize { - my $self = shift; - -- return '' if $self->{PERL_CORE}; -+ return ''; - - if (not -f $CfgFile) { - my @args = qw(Configure); --- -2.4.3 - diff --git a/libnet-3.07-Normalize-Changes-encoding.patch b/libnet-3.07-Normalize-Changes-encoding.patch deleted file mode 100644 index 9221a4d..0000000 --- a/libnet-3.07-Normalize-Changes-encoding.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 8b628ea69da8ba712ec1492cdd344fa36128342e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Thu, 2 Jul 2015 13:37:47 +0200 -Subject: [PATCH] Normalize Changes encoding -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Petr Písař ---- - Changes | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Changes b/Changes -index 71cc605..555e732 100644 ---- a/Changes -+++ b/Changes -@@ -212,7 +212,7 @@ Revision history for Perl distribution libnet - - 1.24 2014-01-06 - -- - Fix incorrect handling of CRLF in Net::FTP. [Willem Monsuw�, CPAN -+ - Fix incorrect handling of CRLF in Net::FTP. [Willem Monsuwé, CPAN - RT#41642/62029] - - - POD fixes. [Dominic Hargreaves, CPAN RT#91761] --- -2.4.3 - diff --git a/libnet-3.08-Do-not-create-Net-libnet.cfg.patch b/libnet-3.08-Do-not-create-Net-libnet.cfg.patch new file mode 100644 index 0000000..911bc10 --- /dev/null +++ b/libnet-3.08-Do-not-create-Net-libnet.cfg.patch @@ -0,0 +1,43 @@ +From a40f2774eede8e65dd6128b45525ec88f469e031 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Fri, 10 Jul 2015 13:02:00 +0200 +Subject: [PATCH 2/2] Do not create Net/libnet.cfg +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +I will remove the Net/libnet.cfg because: + +(1) it's content equals to default configuration hard-coded in the +code +(2) it's kind of configuration file we do not mark it as a configuration +file, so it's overwritten on each update +(3) it's loaded from directory based on Net::Config module location. +I.e. core module will search it in core path, vendor module in vendor +path and site module in site path. + +perl.spec does not provide it either. + + + +Signed-off-by: Petr Písař +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 64d6959..25fc626 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -235,7 +235,7 @@ MAIN: { + sub MY::post_initialize { + my $self = shift; + +- return '' if $self->{PERL_CORE}; ++ return ''; + + if (not -f $CfgFile) { + my @args = qw(Configure); +-- +2.5.0 + diff --git a/libnet-3.08-Normalize-Changes-encoding.patch b/libnet-3.08-Normalize-Changes-encoding.patch new file mode 100644 index 0000000..4373487 --- /dev/null +++ b/libnet-3.08-Normalize-Changes-encoding.patch @@ -0,0 +1,29 @@ +From 7745b33827a1ceb4d8adc4aa9b933a844cf019e9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 2 Jul 2015 13:37:47 +0200 +Subject: [PATCH 1/2] Normalize Changes encoding +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + Changes | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Changes b/Changes +index b52d28f..0bfb566 100644 +--- a/Changes ++++ b/Changes +@@ -223,7 +223,7 @@ Revision history for Perl distribution libnet + + 1.24 2014-01-06 + +- - Fix incorrect handling of CRLF in Net::FTP. [Willem Monsuw�, CPAN ++ - Fix incorrect handling of CRLF in Net::FTP. [Willem Monsuwé, CPAN + RT#41642/62029] + + - POD fixes. [Dominic Hargreaves, CPAN RT#91761] +-- +2.5.0 + diff --git a/perl-libnet.spec b/perl-libnet.spec index 75b722d..3a9e15c 100644 --- a/perl-libnet.spec +++ b/perl-libnet.spec @@ -1,5 +1,5 @@ Name: perl-libnet -Version: 3.07 +Version: 3.08 Release: 1%{?dist} Summary: Perl clients for various network protocols License: GPL+ or Artistic @@ -7,9 +7,9 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/libnet/ Source0: http://www.cpan.org/authors/id/S/SH/SHAY/libnet-%{version}.tar.gz # Convert Changes to UTF-8 -Patch0: libnet-3.07-Normalize-Changes-encoding.patch +Patch0: libnet-3.08-Normalize-Changes-encoding.patch # Do not create Net/libnet.cfg, bug #1238689 -Patch1: libnet-3.07-Do-not-create-Net-libnet.cfg.patch +Patch1: libnet-3.08-Do-not-create-Net-libnet.cfg.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils @@ -103,6 +103,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Jan 06 2016 Petr Pisar - 3.08-1 +- 8.08 bump + * Mon Jul 20 2015 Petr Pisar - 3.07-1 - 3.07 bump diff --git a/sources b/sources index ce678e9..81743a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b08cc6280201f84e0eee74107b713994 libnet-3.07.tar.gz +7d9f9417e8036be259d5f411b4317cf7 libnet-3.08.tar.gz