commit 6d81f44cc6c98da0c892e226abc644f679d820f9 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Dec 7 11:27:24 2012 +0100 Review dependencies perl-Net-DNS.spec | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) --- diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index ea85b9c..419e10a 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -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 -- 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