diff --git a/perl-URI.spec b/perl-URI.spec index 78ad0a7..487603c 100644 --- a/perl-URI.spec +++ b/perl-URI.spec @@ -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 - 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 - 1.71-4 - Perl 5.24 re-rebuild of bootstrapped packages