Soften Business::ISBN dependency from Requires: to Suggests:

This avoids pulling in gd and X libraries (#1380152)
This commit is contained in:
Paul Howarth 2016-10-07 08:11:35 +01:00
parent bd44bf9d6b
commit c89b6346fc

View File

@ -1,6 +1,6 @@
Name: perl-URI
Version: 1.71
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A Perl module implementing URI parsing and manipulation
Group: Development/Libraries
License: GPL+ or Artistic
@ -16,10 +16,6 @@ BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(utf8)
# Module Runtime
# Business::ISBN → Test::Pod → Pod::Simple → HTML::Entities (HTML::Parser) → URI
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Business::ISBN)
%endif
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Cwd)
@ -43,13 +39,20 @@ BuildRequires: perl(Test)
BuildRequires: perl(Test::More) >= 0.96
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Business::ISBN)
Requires: perl(Cwd)
Requires: perl(Data::Dumper)
Requires: perl(Encode)
Requires: perl(MIME::Base64) >= 2
Requires: perl(Net::Domain)
# Optional Functionality
# Business::ISBN pulls in gd and X libraries for barcode support, hence this soft dependency (#1380152)
# Business::ISBN → Test::Pod → Pod::Simple → HTML::Entities (HTML::Parser) → URI
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Business::ISBN)
%endif
Suggests: perl(Business::ISBN)
%description
This module implements the URI class. Objects of this class represent
"Uniform Resource Identifier references" as specified in RFC 2396 (and
@ -88,6 +91,10 @@ make test
%{_mandir}/man3/URI::ldap.3*
%changelog
* Fri Oct 7 2016 Paul Howarth <paul@city-fan.org> - 1.71-5
- Soften Business::ISBN dependency from Requires: to Suggests: to avoid
pulling in gd and X libraries (#1380152)
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-4
- Perl 5.24 re-rebuild of bootstrapped packages