0.83 bump

- Correct the dependency list
- Modernize the spec a bit
This commit is contained in:
Petr Šabata 2015-02-27 10:59:42 +01:00
parent 99b228c59a
commit 8c74955723
3 changed files with 27 additions and 12 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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@redhat.com> - 0.83-1
- 0.83 bump
- Correct the dependency list
- Modernize the spec a bit
* Tue Jan 20 2015 Paul Wouters <pwouters@redhat.com> - 0.82-1
- Updated to 0.82 Support for IPv6 link-local addresses with scope_id

View File

@ -1 +1 @@
95660d1f81ddd087639a6ea13ffff2b8 Net-DNS-0.82.tar.gz
f1d48107ff6b366479ad035783486d7a Net-DNS-0.83.tar.gz