commit 8c7495572369852c46523d99eec4968c7a621e5d Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Feb 27 10:59:42 2015 +0100 0.83 bump - Correct the dependency list - Modernize the spec a bit .gitignore | 1 + perl-Net-DNS.spec | 36 +++++++++++++++++++++++++----------- sources | 2 +- 3 files changed, 27 insertions(+), 12 deletions(-) --- diff --git a/.gitignore b/.gitignore index 74ee0a8..4d9ae2c 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ Net-DNS-0.65.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 diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index 89a0560..938a8b2 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -1,5 +1,5 @@ Name: perl-Net-DNS -Version: 0.82 +Version: 0.83 Release: 1%{?dist} Summary: DNS resolver modules for Perl # lib/Net/DNS/RR/OPT.pm: MIT @@ -12,7 +12,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{v BuildRequires: %{_bindir}/iconv BuildRequires: perl BuildRequires: perl(Config) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::Socket) BuildRequires: perl(strict) @@ -25,13 +25,16 @@ BuildRequires: perl(Data::Dumper) # Digest::BubbleBabble is optional BuildRequires: perl(Digest::BubbleBabble) %endif -BuildRequires: perl(Digest::HMAC_MD5) >= 1 +BuildRequires: perl(Digest::HMAC) >= 1.01 +BuildRequires: perl(Digest::MD5) >= 2.13 +BuildRequires: perl(Digest::SHA) >= 5.23 # Digest::SHA is not used # DynaLoader not used BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(FileHandle) BuildRequires: perl(integer) +BuildRequires: perl(IO::File) BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Socket::INET) # IO::Socket::INET6 is optional @@ -46,23 +49,30 @@ BuildRequires: perl(vars) # Win32::TieRegistry is not needed BuildRequires: perl(XSLoader) # Tests: -BuildRequires: perl(diagnostics) +BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::More) >= 0.18 +BuildRequires: perl(Test::More) >= 0.52 # Optional tests: BuildRequires: perl(Test::Pod) >= 0.95 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: perl(Digest::HMAC_MD5) >= 1 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Digest::HMAC) >= 1.01 +Requires: perl(Digest::MD5) >= 2.13 +Requires: perl(Digest::SHA) >= 5.23 Requires: perl(Encode) Requires: perl(Exporter) +Requires: perl(FileHandle) +Requires: perl(IO::File) Requires: perl(MIME::Base64) >= 2.11 Requires: perl(XSLoader) %{?perl_default_filter} # Do not export under-specified dependencies -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Digest::HMAC_MD5|MIME::Base64)\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::HMAC\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::SHA\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MIME::Base64\\)$ # Do not export under-specified provides %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::Text)\\)$ %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::RR::OPT)\\)$ @@ -95,13 +105,12 @@ done %build export PERL_MM_USE_DEFAULT=yes -perl Makefile.PL INSTALLDIRS=vendor --no-online-tests +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --no-online-tests make %{?_smp_mflags} OPTIMIZE="%{optflags}" %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} + chmod -R u+w %{buildroot}/* %check @@ -125,6 +134,11 @@ make test %{_mandir}/man3/Net::DNS::Nameserver* %changelog +* Fri Feb 27 2015 Petr Šabata <contyk@xxxxxxxxxx> - 0.83-1 +- 0.83 bump +- Correct the dependency list +- Modernize the spec a bit + * Tue Jan 20 2015 Paul Wouters <pwouters@xxxxxxxxxx> - 0.82-1 - Updated to 0.82 Support for IPv6 link-local addresses with scope_id diff --git a/sources b/sources index fbb797b..cf7dc24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -95660d1f81ddd087639a6ea13ffff2b8 Net-DNS-0.82.tar.gz +f1d48107ff6b366479ad035783486d7a Net-DNS-0.83.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel