Correct dependencies

This commit is contained in:
Petr Písař 2012-08-10 15:02:39 +02:00
parent 45bf96621f
commit d18290c0d3
2 changed files with 23 additions and 8 deletions

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (gethostbyaddr|gethostbyname)");

View File

@ -1,6 +1,6 @@
Name: perl-Net-DNS
Version: 0.68
Release: 3%{?dist}
Release: 4%{?dist}
Summary: DNS resolver modules for Perl
License: GPL+ or Artistic
Group: Development/Libraries
@ -12,23 +12,33 @@ BuildRequires: perl(constant)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::BubbleBabble)
BuildRequires: perl(Digest::HMAC_MD5)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Digest::HMAC_MD5) >= 1
BuildRequires: perl(Digest::SHA) >= 5.23
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)
BuildRequires: perl(IO::Socket::INET6)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Net::IP)
BuildRequires: perl(MIME::Base64) >= 2.11
BuildRequires: perl(Socket)
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.18
BuildRequires: perl(Test::Pod)
BuildRequires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Digest::HMAC_MD5) >= 1
Requires: perl(Digest::SHA) >= 5.23
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)\\)$
%description
Net::DNS is a collection of Perl modules that act as a Domain Name
@ -48,10 +58,10 @@ License: GPL+ or Artistic
Instances of the "Net::DNS::Nameserver" class represent DNS server
objects.
%{?perl_default_filter}
%prep
%setup -q -n Net-DNS-%{version}
chmod -x demo/*
sed -i -e '1 s,^#!/usr/local/bin/perl,#!%{__perl},' demo/*
%build
export PERL_MM_USE_DEFAULT=yes
@ -89,6 +99,9 @@ make test
%{_mandir}/man3/Net::DNS::Nameserver*
%changelog
* Fri Aug 10 2012 Petr Pisar <ppisar@redhat.com> - 0.68-4
- Correct dependencies
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild