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

This commit is contained in:
Petr Písař 2014-12-12 08:55:28 +01:00
parent cb85b8d92e
commit 56ffd4a6c2
1 changed files with 7 additions and 2 deletions

View File

@ -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@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@redhat.com> - 0.34-1
- 0.34 bump, VMS bugfixes