diff --git a/.gitignore b/.gitignore index b900877..9d360cb 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ Net-DNS-0.65.tar.gz /Net-DNS-1.13.tar.gz /Net-DNS-1.14.tar.gz /Net-DNS-1.15.tar.gz +/Net-DNS-1.17.tar.gz diff --git a/.rpmlint b/perl-Net-DNS.rpmlintrc similarity index 100% rename from .rpmlint rename to perl-Net-DNS.rpmlintrc diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index 9d6b70d..e1781f8 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -1,11 +1,14 @@ Name: perl-Net-DNS -Version: 1.15 -Release: 3%{?dist} +Version: 1.17 +Release: 1%{?dist} Summary: DNS resolver modules for Perl -# demo/mresolv: GPL+ or Artistic +# Other files: MIT +# demo/mresolv: GPL+ or Artistic +## Not in a binary package +# contrib/find_zonecut: GPL+ or Artistic +# contrib/check_soa: GPL+ or Artistic License: (GPL+ or Artistic) and MIT -Group: Development/Libraries -URL: http://www.net-dns.org/ +URL: https://metacpan.org/release/Net-DNS Source0: https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz BuildArch: noarch # Build @@ -41,11 +44,11 @@ BuildRequires: perl(FileHandle) BuildRequires: perl(integer) BuildRequires: perl(IO::File) # IO::Select is not used -BuildRequires: perl(IO::Socket::INET) -# IO::Socket::INET6 is optional +# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support +BuildRequires: perl(IO::Socket::IP) >= 0.32 BuildRequires: perl(MIME::Base64) >= 2.11 -# Net::LibIDN is optional -# Net::LibIDN2 is optional +# Prefer Net::LibIDN2 over Net::LibIDN, both are optional +BuildRequires: perl(Net::LibIDN2) >= 1 BuildRequires: perl(overload) # PerlIO is optional # Scalar::Util is optional @@ -61,13 +64,32 @@ BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::More) # Optional tests: BuildRequires: perl(Test::Pod) >= 1.45 +%if !%{defined perl_bootstrap} +# Build cycle: perl-Net-DNS-SEC → perl-Net-DNS +BuildRequires: perl(Net::DNS::SEC) +BuildRequires: perl(Net::DNS::SEC::RSA) +%endif Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Suggests: perl(Config) Requires: perl(Data::Dumper) +# Digest::GOST not available Requires: perl(Digest::HMAC) >= 1.03 Requires: perl(Digest::MD5) >= 2.13 Requires: perl(Digest::SHA) >= 5.23 Requires: perl(Encode) +# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support +Recommends: perl(IO::Socket::IP) >= 0.32 Requires: perl(MIME::Base64) >= 2.11 +# Net::DNS::Extlang not available +Suggests: perl(Net::DNS::SEC::DSA) +# Net::DNS::SEC::ECCGOST not available +Suggests: perl(Net::DNS::SEC::ECDSA) +Suggests: perl(Net::DNS::SEC::EdDSA) +Suggests: perl(Net::DNS::SEC::Private) +Suggests: perl(Net::DNS::SEC::RSA) +# Prefer Net::LibIDN2 over Net::LibIDN, both are optional +Suggests: perl(Net::LibIDN2) >= 1 +Suggests: perl(Scalar::Util) >= 1.25 %{?perl_default_filter} @@ -92,8 +114,8 @@ its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details. %package Nameserver Summary: DNS server for Perl -Group: Development/Libraries -License: GPL+ or Artistic +License: MIT +Recommends: perl(IO::Socket::IP) >= 0.32 %description Nameserver Instances of the "Net::DNS::Nameserver" class represent DNS server objects. @@ -138,6 +160,9 @@ make test %{_mandir}/man3/Net::DNS::Nameserver* %changelog +* Tue Aug 07 2018 Petr Pisar - 1.17-1 +- 1.17 bump + * Fri Jul 13 2018 Fedora Release Engineering - 1.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index e9b8d8f..b09e48e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Net-DNS-1.15.tar.gz) = 9c28814620b065348df18046bc50680c02354e63435e94c4aabf12adc9991567b624c6f6c20aa102dfed06a7795ffa01b99d26cde58a0bcb32ada0a0afe4524b +SHA512 (Net-DNS-1.17.tar.gz) = 7f69fdff454efb82afafd7ae1c47524dd337e27d915c87146547088a5f86581dc2867e07a473c68fb29ef08146e0b2c739fcc39e21aa1bf74d6c3eb718d545e6