[perl-MooseX-Getopt] avoid circular dependencies

Iain Arnell iarnell at fedoraproject.org
Mon Apr 9 14:22:22 UTC 2012


commit 0f46d13939fc9c2993e836dacf37385f5d047fc8
Author: Iain Arnell <iarnell at gmail.com>
Date:   Mon Apr 9 08:15:26 2012 -0600

    avoid circular dependencies

 perl-MooseX-Getopt.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-MooseX-Getopt.spec b/perl-MooseX-Getopt.spec
index f65b76b..c283bd7 100644
--- a/perl-MooseX-Getopt.spec
+++ b/perl-MooseX-Getopt.spec
@@ -1,7 +1,7 @@
 Name:           perl-MooseX-Getopt
 Summary:        Moose role for processing command line options
 Version:        0.39
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Getopt-%{version}.tar.gz 
@@ -14,7 +14,10 @@ BuildRequires:  perl(Getopt::Long) >= 2.37
 BuildRequires:  perl(Getopt::Long::Descriptive) >= 0.081
 BuildRequires:  perl(Moose) >= 0.56
 BuildRequires:  perl(MooseX::Role::Parameterized)
+# MooseX::SimpleConfig -> MooseX::ConfigFromFile -> MooseX::Types::Path::Class -> MooseX::Getopt
+%if !0%{?perl_bootstrap}
 BuildRequires:  perl(MooseX::SimpleConfig) >= 0.07
+%endif
 BuildRequires:  perl(Test::Deep)
 BuildRequires:  perl(Test::Fatal) >= 0.003
 BuildRequires:  perl(Test::Moose)
@@ -61,6 +64,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Apr 09 2012 Iain Arnell <iarnell at gmail.com> 0.39-2
+- avoid circular dependencies (patch from Paul Howarth rhbz#810707)
+
 * Sat Feb 04 2012 Iain Arnell <iarnell at gmail.com> 0.39-1
 - update to latest upstream version
 


More information about the scm-commits mailing list