Filter perl(CONFIG) from requires

This commit is contained in:
Jitka Plesnikova 2015-12-10 15:33:36 +01:00
parent cc2dd66a74
commit 3a381b942a

View File

@ -1,6 +1,6 @@
Name: perl-Net-DNS
Version: 1.04
Release: 1%{?dist}
Release: 2%{?dist}
Summary: DNS resolver modules for Perl
# lib/Net/DNS/RR/RT.pm: GPL+ or Artistic
License: (GPL+ or Artistic) and MIT
@ -69,8 +69,6 @@ Requires: perl(Digest::HMAC) >= 1.03
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
%if !%{defined perl_bootstrap}
@ -88,6 +86,7 @@ Requires: perl(Net::DNS::SEC::RSA)
%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\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CONFIG\\)$
# 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)\\)$
@ -148,6 +147,9 @@ make test
%{_mandir}/man3/Net::DNS::Nameserver*
%changelog
* Thu Dec 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-2
- Filter perl(CONFIG) from requires
* Thu Dec 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-1
- 1.04 bump