[perl-Business-ISBN] Don't BR: perl(LWP::Simple) when bootstrapping

Paul Howarth pghmcfc at fedoraproject.org
Wed Feb 27 11:56:31 UTC 2013


commit de2b04369234b60f25dd7cf082996893a5b8837c
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Feb 27 11:55:45 2013 +0000

    Don't BR: perl(LWP::Simple) when bootstrapping
    
    Don't BR: perl(LWP::Simple) for optional tests when bootstrapping; this is a
    cleaner fix than nobbling perl-URI's runtime dependencies

 perl-Business-ISBN.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec
index fbba83b..98f1d1e 100644
--- a/perl-Business-ISBN.spec
+++ b/perl-Business-ISBN.spec
@@ -1,7 +1,7 @@
 Name:           perl-Business-ISBN
 Version:        2.05.03
 %define module_version 2.05_03
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl module to work with International Standard Book Numbers
 
 Group:          Development/Libraries
@@ -20,7 +20,10 @@ BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(GD::Barcode::EAN13)
 BuildRequires:  perl(IO::Socket)
+# Break build dependency cycle involving LWP::Simple and URI
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(LWP::Simple)
+%endif
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage)
@@ -64,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Feb 27 2013 Paul Howarth <paul at city-fan.org> - 2.05.03-3
+- Don't BR: perl(LWP::Simple) for optional tests when bootstrapping; this is a
+  cleaner fix than nobbling perl-URI's runtime dependencies
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.05.03-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list