0.83 bump
- Correct the dependency list - Modernize the spec a bit
This commit is contained in:
parent
99b228c59a
commit
8c74955723
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ Net-DNS-0.65.tar.gz
|
|||||||
/Net-DNS-0.80.tar.gz
|
/Net-DNS-0.80.tar.gz
|
||||||
/Net-DNS-0.81.tar.gz
|
/Net-DNS-0.81.tar.gz
|
||||||
/Net-DNS-0.82.tar.gz
|
/Net-DNS-0.82.tar.gz
|
||||||
|
/Net-DNS-0.83.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: perl-Net-DNS
|
Name: perl-Net-DNS
|
||||||
Version: 0.82
|
Version: 0.83
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: DNS resolver modules for Perl
|
Summary: DNS resolver modules for Perl
|
||||||
# lib/Net/DNS/RR/OPT.pm: MIT
|
# 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: %{_bindir}/iconv
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
BuildRequires: perl(IO::Socket)
|
BuildRequires: perl(IO::Socket)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
@ -25,13 +25,16 @@ BuildRequires: perl(Data::Dumper)
|
|||||||
# Digest::BubbleBabble is optional
|
# Digest::BubbleBabble is optional
|
||||||
BuildRequires: perl(Digest::BubbleBabble)
|
BuildRequires: perl(Digest::BubbleBabble)
|
||||||
%endif
|
%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
|
# Digest::SHA is not used
|
||||||
# DynaLoader not used
|
# DynaLoader not used
|
||||||
BuildRequires: perl(Encode)
|
BuildRequires: perl(Encode)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(FileHandle)
|
BuildRequires: perl(FileHandle)
|
||||||
BuildRequires: perl(integer)
|
BuildRequires: perl(integer)
|
||||||
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(IO::Select)
|
BuildRequires: perl(IO::Select)
|
||||||
BuildRequires: perl(IO::Socket::INET)
|
BuildRequires: perl(IO::Socket::INET)
|
||||||
# IO::Socket::INET6 is optional
|
# IO::Socket::INET6 is optional
|
||||||
@ -46,23 +49,30 @@ BuildRequires: perl(vars)
|
|||||||
# Win32::TieRegistry is not needed
|
# Win32::TieRegistry is not needed
|
||||||
BuildRequires: perl(XSLoader)
|
BuildRequires: perl(XSLoader)
|
||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: perl(diagnostics)
|
BuildRequires: perl(File::Find)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Test::Builder)
|
BuildRequires: perl(Test::Builder)
|
||||||
BuildRequires: perl(Test::More) >= 0.18
|
BuildRequires: perl(Test::More) >= 0.52
|
||||||
# Optional tests:
|
# Optional tests:
|
||||||
BuildRequires: perl(Test::Pod) >= 0.95
|
BuildRequires: perl(Test::Pod) >= 0.95
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
Requires: perl(Digest::HMAC_MD5) >= 1
|
Requires: perl(Digest::HMAC) >= 1.01
|
||||||
|
Requires: perl(Digest::MD5) >= 2.13
|
||||||
|
Requires: perl(Digest::SHA) >= 5.23
|
||||||
Requires: perl(Encode)
|
Requires: perl(Encode)
|
||||||
Requires: perl(Exporter)
|
Requires: perl(Exporter)
|
||||||
|
Requires: perl(FileHandle)
|
||||||
|
Requires: perl(IO::File)
|
||||||
Requires: perl(MIME::Base64) >= 2.11
|
Requires: perl(MIME::Base64) >= 2.11
|
||||||
Requires: perl(XSLoader)
|
Requires: perl(XSLoader)
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
# Do not export under-specified dependencies
|
# 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
|
# 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::Text)\\)$
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::RR::OPT)\\)$
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::RR::OPT)\\)$
|
||||||
@ -95,13 +105,12 @@ done
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export PERL_MM_USE_DEFAULT=yes
|
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}"
|
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
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}/*
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -125,6 +134,11 @@ make test
|
|||||||
%{_mandir}/man3/Net::DNS::Nameserver*
|
%{_mandir}/man3/Net::DNS::Nameserver*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Updated to 0.82 Support for IPv6 link-local addresses with scope_id
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user