[perl-MooseX-ConfigFromFile] Don't BR: perl(MooseX::SimpleConfig) when bootstrapping

Paul Howarth pghmcfc at fedoraproject.org
Tue Apr 8 11:54:41 UTC 2014


commit 53bbb15fbff0809cb29a6431badb597ad0624a24
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Apr 8 12:54:16 2014 +0100

    Don't BR: perl(MooseX::SimpleConfig) when bootstrapping

 perl-MooseX-ConfigFromFile.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-MooseX-ConfigFromFile.spec b/perl-MooseX-ConfigFromFile.spec
index 4e7cec3..ad445c4 100644
--- a/perl-MooseX-ConfigFromFile.spec
+++ b/perl-MooseX-ConfigFromFile.spec
@@ -1,6 +1,6 @@
 Name:       perl-MooseX-ConfigFromFile 
 Version:    0.13
-Release:    1%{?dist}
+Release:    2%{?dist}
 License:    GPL+ or Artistic 
 Group:      Development/Libraries
 Summary:    An abstract Moose role for setting attributes from a configfile 
@@ -34,7 +34,10 @@ BuildRequires:  perl(Test::Without::Module)
 BuildRequires:  perl(CPAN::Meta)
 BuildRequires:  perl(CPAN::Meta::Requirements)
 BuildRequires:  perl(MooseX::Getopt)
+# MooseX::SimpleConfig requires MooseX::ConfigFromFile
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(MooseX::SimpleConfig)
+%endif
 # Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -72,6 +75,9 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/MooseX::ConfigFromFile.3*
 
 %changelog
+* Tue Apr  8 2014 Paul Howarth <paul at city-fan.org> - 0.13-2
+- Don't BR: perl(MooseX::SimpleConfig) when bootstrapping
+
 * Wed Mar 26 2014 Paul Howarth <paul at city-fan.org> - 0.13-1
 - Update to 0.13
   - Documentation corrected to demostrate how to properly override the



More information about the perl-devel mailing list