Introduce build-condition for Business::ISBN
This commit is contained in:
parent
c5efb8d06a
commit
28d53fda02
@ -1,3 +1,6 @@
|
|||||||
|
# Utilize Business::ISBN that needs gd library
|
||||||
|
%bcond_without perl_URI_enables_Business_ISBN
|
||||||
|
|
||||||
Name: perl-URI
|
Name: perl-URI
|
||||||
Version: 1.71
|
Version: 1.71
|
||||||
Release: 6%{?dist}
|
Release: 6%{?dist}
|
||||||
@ -46,12 +49,14 @@ Requires: perl(MIME::Base64) >= 2
|
|||||||
Requires: perl(Net::Domain)
|
Requires: perl(Net::Domain)
|
||||||
|
|
||||||
# Optional Functionality
|
# Optional Functionality
|
||||||
|
%if %{with perl_URI_enables_Business_ISBN}
|
||||||
# Business::ISBN pulls in gd and X libraries for barcode support, hence this soft dependency (#1380152)
|
# 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
|
# Business::ISBN → Test::Pod → Pod::Simple → HTML::Entities (HTML::Parser) → URI
|
||||||
%if 0%{!?perl_bootstrap:1}
|
%if 0%{!?perl_bootstrap:1}
|
||||||
BuildRequires: perl(Business::ISBN)
|
BuildRequires: perl(Business::ISBN)
|
||||||
%endif
|
%endif
|
||||||
Suggests: perl(Business::ISBN)
|
Suggests: perl(Business::ISBN)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module implements the URI class. Objects of this class represent
|
This module implements the URI class. Objects of this class represent
|
||||||
|
Loading…
Reference in New Issue
Block a user