From b767e3c1c35e54627a651c99307da81aa069f8e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 20 Jul 2016 08:16:17 +0200
Subject: 3.09 bump

---
 .gitignore                                   |  1 +
 libnet-3.08-Normalize-Changes-encoding.patch | 29 ---------------------------
 libnet-3.09-Normalize-Changes-encoding.patch | 29 +++++++++++++++++++++++++++
 perl-libnet.spec                             | 30 +++++++++++++++++++---------
 sources                                      |  2 +-
 5 files changed, 52 insertions(+), 39 deletions(-)
 delete mode 100644 libnet-3.08-Normalize-Changes-encoding.patch
 create mode 100644 libnet-3.09-Normalize-Changes-encoding.patch

diff --git a/.gitignore b/.gitignore
index e20ebda..dd31284 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /libnet-3.06.tar.gz
 /libnet-3.07.tar.gz
 /libnet-3.08.tar.gz
+/libnet-3.09.tar.gz
diff --git a/libnet-3.08-Normalize-Changes-encoding.patch 
b/libnet-3.08-Normalize-Changes-encoding.patch
deleted file mode 100644
index 4373487..0000000
--- a/libnet-3.08-Normalize-Changes-encoding.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 7745b33827a1ceb4d8adc4aa9b933a844cf019e9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
-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ř <ppi...@redhat.com>
----
- 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/libnet-3.09-Normalize-Changes-encoding.patch 
b/libnet-3.09-Normalize-Changes-encoding.patch
new file mode 100644
index 0000000..a7b2441
--- /dev/null
+++ b/libnet-3.09-Normalize-Changes-encoding.patch
@@ -0,0 +1,29 @@
+From 05e241bca2f48a271627a2fedcdb43f1fe5b9483 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+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ř <ppi...@redhat.com>
+---
+ Changes | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Changes b/Changes
+index 831e061..27fda24 100644
+--- a/Changes
++++ b/Changes
+@@ -236,7 +236,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.5
+
diff --git a/perl-libnet.spec b/perl-libnet.spec
index 9b54114..68f299d 100644
--- a/perl-libnet.spec
+++ b/perl-libnet.spec
@@ -1,17 +1,16 @@
 Name:           perl-libnet
-Version:        3.08
-Release:        366%{?dist}
+Version:        3.09
+Release:        1%{?dist}
 Summary:        Perl clients for various network protocols
 License:        GPL+ or Artistic
 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.08-Normalize-Changes-encoding.patch
+Patch0:         libnet-3.09-Normalize-Changes-encoding.patch
 # Do not create Net/libnet.cfg, bug #1238689
 Patch1:         libnet-3.08-Do-not-create-Net-libnet.cfg.patch
 BuildArch:      noarch
-BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
@@ -34,7 +33,7 @@ BuildRequires:  perl(IO::Select)
 BuildRequires:  perl(IO::Socket) >= 1.05
 # Prefer IO::Socket::IP over IO::Socket::INET6 and IO::Socket::INET
 # IO::Socket::INET6 not used
-BuildRequires:  perl(IO::Socket::IP) >= 0.20
+BuildRequires:  perl(IO::Socket::IP) >= 0.25
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Socket) >= 2.016
 BuildRequires:  perl(Symbol)
@@ -43,7 +42,7 @@ BuildRequires:  perl(Time::Local)
 # Authen::SASL not used at tests
 # Digest::MD5 not used at tests
 %if !%{defined perl_bootstrap}
-# Core modules must built without non-core dependencies
+# Core modules must be built without non-core dependencies
 BuildRequires:  perl(IO::Socket::SSL) >= 2.007
 %endif
 # MD5 not used because we prefer Digest::MD5
@@ -56,7 +55,7 @@ BuildRequires:  perl(IO::File)
 BuildRequires:  perl(Test::More)
 # Optional tests:
 %if !%{defined perl_bootstrap}
-# Core modules must built without non-core dependencies
+# Core modules must be built without non-core dependencies
 BuildRequires:  perl(IO::Socket::SSL::Utils)
 %endif
 # Test::CPAN::Changes not used
@@ -67,9 +66,19 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`perl 
-V:version`"; echo $version))
 Requires:       perl(File::Basename)
 Requires:       perl(IO::Socket) >= 1.05
 # Prefer IO::Socket::IP over IO::Socket::INET6 and IO::Socket::INET
-Requires:       perl(IO::Socket::IP) >= 0.20
+Requires:       perl(IO::Socket::IP) >= 0.25
 Requires:       perl(POSIX)
 Requires:       perl(Socket) >= 2.016
+# Optional run-time:
+# Core modules must be built without non-core dependencies
+%if !%{defined perl_bootstrap}
+Suggests:       perl(Authen::SASL)
+%endif
+Suggests:       perl(Digest::MD5)
+%if !%{defined perl_bootstrap}
+Suggests:       perl(IO::Socket::SSL) >= 2.007
+%endif
+Suggests:       perl(MIME::Base64)
 Conflicts:      perl < 4:5.22.0-347
 
 # Filter under-specified dependencies
@@ -91,7 +100,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name .packlist -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -104,6 +113,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jul 20 2016 Petr Pisar <ppi...@redhat.com> - 3.09-1
+- 3.09 bump
+
 * Wed May 18 2016 Jitka Plesnikova <jples...@redhat.com> - 3.08-366
 - Perl 5.24 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 81743a5..405d97a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7d9f9417e8036be259d5f411b4317cf7  libnet-3.08.tar.gz
+adb1ba477d02391860619f341cd58a50  libnet-3.09.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-libnet.git/commit/?h=master&id=b767e3c1c35e54627a651c99307da81aa069f8e0
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to