Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

3 changed files with 120 additions and 30 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Net-DNS-1.15.tar.gz
SOURCES/Net-DNS-1.29.tar.gz

View File

@ -1 +1 @@
41078908786e71fb680d7fb6686062f53b0c760a SOURCES/Net-DNS-1.15.tar.gz
e1a4f26de33de773fa8133ed8025c58330c3cbfd SOURCES/Net-DNS-1.29.tar.gz

View File

@ -1,24 +1,27 @@
Name: perl-Net-DNS
Version: 1.15
Release: 1%{?dist}
Version: 1.29
Release: 6%{?dist}
Summary: DNS resolver modules for Perl
# lib/Net/DNS/RR/RT.pm: 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/
Source0: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
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
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: sed
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Socket)
# IO::Socket::IP or IO::Socket::INET
BuildRequires: perl(IO::Socket::IP) >= 0.38
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@ -41,11 +44,10 @@ 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
BuildRequires: perl(MIME::Base64) >= 2.11
# Net::LibIDN is optional
# Net::LibIDN2 is optional
# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support
BuildRequires: perl(MIME::Base64) >= 2.13
# Prefer Net::LibIDN2 over Net::LibIDN, both are optional
BuildRequires: perl(Net::LibIDN2) >= 1
BuildRequires: perl(overload)
# PerlIO is optional
# Scalar::Util is optional
@ -56,18 +58,37 @@ BuildRequires: perl(warnings)
# Win32::IPHelper is not needed
# Win32::TieRegistry is not needed
# Tests only
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Find) >= 1.05
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) >= 1.01
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)
Requires: perl(MIME::Base64) >= 2.11
# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support
Recommends: perl(IO::Socket::IP) >= 0.38
Requires: perl(MIME::Base64) >= 2.13
# 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 +113,9 @@ 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
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Recommends: perl(IO::Socket::IP) >= 0.32
%description Nameserver
Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
@ -101,22 +123,17 @@ Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
%prep
%setup -q -n Net-DNS-%{version}
chmod -x demo/*
sed -i -e '1 s,^#!/usr/local/bin/perl,#!%{__perl},' demo/*
for i in Changes; do
iconv -f iso8859-1 -t utf-8 "$i" > "${i}.conv"
touch -r "$i" "${i}.iconv"
mv -f "${i}.conv" "$i"
done
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' demo/*
%build
export PERL_MM_USE_DEFAULT=yes
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --no-online-tests
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --no-online-tests
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
chmod -R u+w %{buildroot}/*
%{_fixperms} %{buildroot}/*
%check
make test
@ -138,6 +155,79 @@ make test
%{_mandir}/man3/Net::DNS::Nameserver*
%changelog
* Wed Oct 19 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-6
- Resolves: rhbz#2126689
* Thu Oct 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-5
- Related: rhbz#2126689
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Dec 04 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
- 1.29 bump
* Thu Nov 12 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-1
- 1.28 bump
* Wed Nov 4 2020 Paul Howarth <paul@city-fan.org> - 1.27-2
- Drop erroneous UTF-8 encoding conversion of Changes file (#1869049)
* Mon Sep 14 2020 Petr Pisar <ppisar@redhat.com> - 1.27-1
- 1.27 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-4
- Perl 5.32 re-rebuild of bootstrapped packages
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-1
- 1.21 bump
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-2
- Perl 5.30 rebuild
* Wed May 22 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-1
- 1.20 bump
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-1
- 1.19 bump
* Wed Oct 03 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-1
- 1.18 bump
* Tue Aug 07 2018 Petr Pisar <ppisar@redhat.com> - 1.17-1
- 1.17 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-2
- Perl 5.28 rebuild
* Wed Feb 14 2018 Paul Wouters <pwouters@redhat.com> - 1.15
- Resolves rhbz#1544065 Update to 1.15 - Maintenance only