Support IPv6, avoid interactive build (#710375)

This commit is contained in:
Petr Sabata 2011-06-03 10:52:20 +02:00
parent 3a03f7417e
commit e4946302de

View File

@ -1,6 +1,6 @@
Name: perl-Net-DNS
Version: 0.66
Release: 2%{?dist}
Release: 3%{?dist}
Summary: DNS resolver modules for Perl
License: GPL+ or Artistic
Group: Development/Libraries
@ -9,6 +9,8 @@ Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.g
BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Digest::BubbleBabble)
BuildRequires: perl(IO::Socket::INET6)
BuildRequires: perl(Socket6)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -37,6 +39,7 @@ objects.
%setup -q -n Net-DNS-%{version}
%build
export PERL_MM_USE_DEFAULT=yes
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
@ -79,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jun 03 2011 Petr Sabata <contyk@redhat.com> - 0.66-3
- Introduce IPv6 support and prevent interactive build (#710375)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.66-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild