Review dependencies

This commit is contained in:
Petr Písař 2012-12-07 11:27:24 +01:00
parent ebd03d78c4
commit 6d81f44cc6

View File

@ -7,41 +7,50 @@ 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
BuildRequires: %{_bindir}/iconv
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Socket)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
%if ! (0%{?rhel} >= 7)
# Digest::BubbleBabble is optional
BuildRequires: perl(Digest::BubbleBabble)
%endif
BuildRequires: perl(Digest::HMAC_MD5) >= 1
BuildRequires: perl(Digest::SHA) >= 5.23
# Digest::SHA is not used
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket)
BuildRequires: perl(IO::Socket::INET)
# IO::Socket::INET6 is optional
BuildRequires: perl(IO::Socket::INET6)
BuildRequires: perl(MIME::Base64) >= 2.11
# Net::LibIDN is optional
BuildRequires: perl(Net::LibIDN)
BuildRequires: perl(Socket)
# Win32::IPHelper is not needed
# Win32::TieRegistry is not needed
BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More) >= 0.18
BuildRequires: perl(Test::Pod)
BuildRequires: perl(XSLoader)
# 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(Digest::SHA) >= 5.23
Requires: perl(Encode)
Requires: perl(Exporter)
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|Digest::SHA|MIME::Base64)\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Digest::HMAC_MD5|MIME::Base64)\\)$
%description
Net::DNS is a collection of Perl modules that act as a Domain Name System