[perl-IO-Socket-IP] Do not build-require non-core Socket6 module when bootstrapping

Petr Pisar ppisar at fedoraproject.org
Fri Dec 12 08:04:23 UTC 2014


commit 56ffd4a6c2fb33a075c25614119376b8aabf7807
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Dec 12 08:55:28 2014 +0100

    Do not build-require non-core Socket6 module when bootstrapping

 perl-IO-Socket-IP.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-IO-Socket-IP.spec b/perl-IO-Socket-IP.spec
index 0dba5d2..78de916 100644
--- a/perl-IO-Socket-IP.spec
+++ b/perl-IO-Socket-IP.spec
@@ -1,6 +1,6 @@
 Name:           perl-IO-Socket-IP
 Version:        0.34
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -22,9 +22,10 @@ BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Socket) >= 1.97
 # Tests only
 BuildRequires:  perl(IO::Socket::INET)
-BuildRequires:  perl(Socket6)
 BuildRequires:  perl(Test::More)
+# Optional tests only
 %if !%{defined perl_bootstrap}
+BuildRequires:  perl(Socket6)
 BuildRequires:  perl(Test::Pod) >= 1.00
 %endif
 Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
@@ -59,6 +60,10 @@ rm -f t/21nonblocking-connect-internet.t
 %{_mandir}/man3/*
 
 %changelog
+* Fri Dec 12 2014 Petr Pisar <ppisar at redhat.com> - 0.34-2
+- Do not build-require non-core Socket6 module when bootstrapping this core
+  module
+
 * Fri Dec 05 2014 Petr Šabata <contyk at redhat.com> - 0.34-1
 - 0.34 bump, VMS bugfixes
 


More information about the scm-commits mailing list