Compare commits

...

No commits in common. "imports/c9-beta/perl-Net-DNS-1.29-6.el9" and "c8s" have entirely different histories.

5 changed files with 63 additions and 120 deletions

33
.gitignore vendored
View File

@ -1 +1,32 @@
SOURCES/Net-DNS-1.29.tar.gz
Net-DNS-0.65.tar.gz
/Net-DNS-0.66.tar.gz
/Net-DNS-0.67.tar.gz
/Net-DNS-0.68.tar.gz
/Net-DNS-0.69.tar.gz
/Net-DNS-0.70.tar.gz
/Net-DNS-0.71.tar.gz
/Net-DNS-0.72.tar.gz
/Net-DNS-0.73.tar.gz
/Net-DNS-0.74.tar.gz
/Net-DNS-0.75.tar.gz
/Net-DNS-0.75_1.tar.gz
/Net-DNS-0.76.tar.gz
/Net-DNS-0.77.tar.gz
/Net-DNS-0.78.tar.gz
/Net-DNS-0.79.tar.gz
/Net-DNS-0.80.tar.gz
/Net-DNS-0.81.tar.gz
/Net-DNS-0.82.tar.gz
/Net-DNS-0.83.tar.gz
/Net-DNS-1.01.tar.gz
/Net-DNS-1.02.tar.gz
/Net-DNS-1.04.tar.gz
/Net-DNS-1.06.tar.gz
/Net-DNS-1.07.tar.gz
/Net-DNS-1.08.tar.gz
/Net-DNS-1.09.tar.gz
/Net-DNS-1.10.tar.gz
/Net-DNS-1.12.tar.gz
/Net-DNS-1.13.tar.gz
/Net-DNS-1.14.tar.gz
/Net-DNS-1.15.tar.gz

View File

@ -1 +0,0 @@
e1a4f26de33de773fa8133ed8025c58330c3cbfd SOURCES/Net-DNS-1.29.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (gethostbyaddr|gethostbyname)");

View File

@ -1,27 +1,24 @@
Name: perl-Net-DNS
Version: 1.29
Release: 6%{?dist}
Version: 1.15
Release: 1%{?dist}
Summary: DNS resolver modules for Perl
# 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
# lib/Net/DNS/RR/RT.pm: GPL+ or Artistic
License: (GPL+ or Artistic) and MIT
URL: https://metacpan.org/release/Net-DNS
Source0: https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
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
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)
# IO::Socket::IP or IO::Socket::INET
BuildRequires: perl(IO::Socket::IP) >= 0.38
BuildRequires: perl(IO::Socket)
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@ -44,10 +41,11 @@ BuildRequires: perl(FileHandle)
BuildRequires: perl(integer)
BuildRequires: perl(IO::File)
# IO::Select is not used
# 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(IO::Socket::INET)
# IO::Socket::INET6 is optional
BuildRequires: perl(MIME::Base64) >= 2.11
# Net::LibIDN is optional
# Net::LibIDN2 is optional
BuildRequires: perl(overload)
# PerlIO is optional
# Scalar::Util is optional
@ -58,37 +56,18 @@ BuildRequires: perl(warnings)
# Win32::IPHelper is not needed
# Win32::TieRegistry is not needed
# Tests only
BuildRequires: perl(File::Find) >= 1.05
BuildRequires: perl(File::Find)
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)
# 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
Requires: perl(MIME::Base64) >= 2.11
%{?perl_default_filter}
@ -113,9 +92,8 @@ its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details.
%package Nameserver
Summary: DNS server for Perl
License: MIT
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Recommends: perl(IO::Socket::IP) >= 0.32
Group: Development/Libraries
License: GPL+ or Artistic
%description Nameserver
Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
@ -123,17 +101,22 @@ Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
%prep
%setup -q -n Net-DNS-%{version}
chmod -x demo/*
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' 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
%build
export PERL_MM_USE_DEFAULT=yes
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --no-online-tests
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --no-online-tests
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
%install
%{make_install}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
%{_fixperms} %{buildroot}/*
chmod -R u+w %{buildroot}/*
%check
make test
@ -155,79 +138,6 @@ 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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Net-DNS-1.15.tar.gz) = 9c28814620b065348df18046bc50680c02354e63435e94c4aabf12adc9991567b624c6f6c20aa102dfed06a7795ffa01b99d26cde58a0bcb32ada0a0afe4524b