- Resolves: rhbz#2132181 perl-Net-DNS-1.36 is available

This commit is contained in:
Paul Wouters 2023-01-03 14:57:28 -05:00
parent b56ba25e3a
commit 56afa38de2
No known key found for this signature in database
GPG Key ID: DB48D2E5122468BF
3 changed files with 21 additions and 6 deletions

2
.gitignore vendored
View File

@ -41,3 +41,5 @@ Net-DNS-0.65.tar.gz
/Net-DNS-1.32.tar.gz
/Net-DNS-1.33.tar.gz
/Net-DNS-1.34.tar.gz
/Net-DNS-1.36.tar.gz
/Net-DNS-1.36.tar.gz.asc

View File

@ -1,6 +1,6 @@
Name: perl-Net-DNS
Version: 1.34
Release: 3%{?dist}
Version: 1.36
Release: 1%{?dist}
Summary: DNS resolver modules for Perl
# Other files: MIT
# demo/mresolv: GPL+ or Artistic
@ -8,13 +8,18 @@ Summary: DNS resolver modules for Perl
# contrib/find_zonecut: GPL+ or Artistic
# contrib/check_soa: 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
URL: https://www.net-dns.org
Source0: https://www.net-dns.org/download/Net-DNS-%{version}.tar.gz
Source1: https://www.net-dns.org/download/Net-DNS-%{version}.tar.gz.asc
Source2: http://keys.openpgp.org/pks/lookup?op=get&search=0xE5F8F8212F77A498#/willem.nlnetlabs.nl
BuildArch: noarch
# Build
BuildRequires: gnupg2
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
@ -127,6 +132,8 @@ Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q -n Net-DNS-%{version}
chmod -x demo/*
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' demo/*
@ -184,6 +191,11 @@ make test
%{_libexecdir}/%{name}
%changelog
* Tue Jan 03 2023 Paul Wouters <paul.wouters@aiven.io - 1.36-1
- Resolves: rhbz#2132181 perl-Net-DNS-1.36 is available
- Add source download gpg verification
- Update homepage / download URLS from CPAN to net-dns.org
* Wed Dec 07 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.34-3
- Fix provided packages in *tests package

View File

@ -1 +1,2 @@
SHA512 (Net-DNS-1.34.tar.gz) = 890b5e7b574a546337571a8c7f5836650a7de41301ce2386d973041f0f1da0bd40c69cfc3625fccd01685502017b42d23cd75e95f40a1ffd7bcc796385899032
SHA512 (Net-DNS-1.36.tar.gz) = 3c7227fa101af46d1d38bc003468f0b6ab65015472629f9e30b482c0204aa52aea6d0e7fe58a11a81fd09b8a811b157919f128396885e97ffbed6f825de0b193
SHA512 (Net-DNS-1.36.tar.gz.asc) = 5c54d4a22a36654eb9765bcc8496d617156a1fc7b123b542072c385eb3c5c1403908e96b338fde2d422783fc24027d48822b9459876068b43f72409a5a6f2343