From 9a8e797bf9e27f1c09a3fefa646bec044a60cb8b Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Jul 20 2015 12:38:12 +0000 Subject: 3.07 bump --- diff --git a/.gitignore b/.gitignore index 1e51f54..0cfab7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libnet-3.06.tar.gz +/libnet-3.07.tar.gz diff --git a/libnet-3.06-Do-not-create-Net-libnet.cfg.patch b/libnet-3.06-Do-not-create-Net-libnet.cfg.patch deleted file mode 100644 index d2f5fef..0000000 --- a/libnet-3.06-Do-not-create-Net-libnet.cfg.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ba16451e323a585ba0ca3ff88bf7bbd2c2c3a76a 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 af24976..2d9790b 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -234,7 +234,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.06-Normalize-Changes-encoding.patch b/libnet-3.06-Normalize-Changes-encoding.patch deleted file mode 100644 index c61c566..0000000 --- a/libnet-3.06-Normalize-Changes-encoding.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 185ee11e986d5a0015ce38e7fe2df7397340dd50 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ř - -diff --git a/Changes b/Changes -index 90246d6..d590a3f 100644 ---- a/Changes -+++ b/Changes -@@ -164,7 +164,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.07-Do-not-create-Net-libnet.cfg.patch b/libnet-3.07-Do-not-create-Net-libnet.cfg.patch new file mode 100644 index 0000000..2a44ddf --- /dev/null +++ b/libnet-3.07-Do-not-create-Net-libnet.cfg.patch @@ -0,0 +1,43 @@ +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 new file mode 100644 index 0000000..9221a4d --- /dev/null +++ b/libnet-3.07-Normalize-Changes-encoding.patch @@ -0,0 +1,29 @@ +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/perl-libnet.spec b/perl-libnet.spec index 0aac5a9..75b722d 100644 --- a/perl-libnet.spec +++ b/perl-libnet.spec @@ -1,5 +1,5 @@ Name: perl-libnet -Version: 3.06 +Version: 3.07 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.06-Normalize-Changes-encoding.patch +Patch0: libnet-3.07-Normalize-Changes-encoding.patch # Do not create Net/libnet.cfg, bug #1238689 -Patch1: libnet-3.06-Do-not-create-Net-libnet.cfg.patch +Patch1: libnet-3.07-Do-not-create-Net-libnet.cfg.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils @@ -24,7 +24,6 @@ BuildRequires: perl(warnings) BuildRequires: perl(Carp) BuildRequires: perl(constant) # Convert::EBCDIC not used -# Encode not need if utf8 is available BuildRequires: perl(Errno) BuildRequires: perl(Exporter) BuildRequires: perl(Fcntl) @@ -39,7 +38,6 @@ BuildRequires: perl(POSIX) BuildRequires: perl(Socket) >= 2.016 BuildRequires: perl(Symbol) BuildRequires: perl(Time::Local) -BuildRequires: perl(utf8) # Optional run-time: # Authen::SASL not used at tests # Digest::MD5 not used at tests @@ -71,7 +69,6 @@ Requires: perl(IO::Socket) >= 1.05 Requires: perl(IO::Socket::IP) >= 0.20 Requires: perl(POSIX) Requires: perl(Socket) >= 2.016 -Requires: perl(utf8) Conflicts: perl < 4:5.22.0-347 # Filter under-specified dependencies @@ -106,6 +103,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 20 2015 Petr Pisar - 3.07-1 +- 3.07 bump + * Wed Jul 01 2015 Petr Pisar 3.06-1 - Specfile autogenerated by cpanspec 1.78. - Do not create Net/libnet.cfg (bug #1238689) diff --git a/sources b/sources index 2aac482..ce678e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fd1f381298d04c1c91f7b2a8a0fb164e libnet-3.06.tar.gz +b08cc6280201f84e0eee74107b713994 libnet-3.07.tar.gz