[perl-Any-Moose] avoid circular build-dependency with perl-MooseX-Types

Iain Arnell iarnell at fedoraproject.org
Fri Apr 6 15:51:55 UTC 2012


commit 3ac44ae0708fa78b8346f0ee031e8da6797cc9b4
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Apr 6 09:51:49 2012 -0600

    avoid circular build-dependency with perl-MooseX-Types

 perl-Any-Moose.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Any-Moose.spec b/perl-Any-Moose.spec
index 8ac93ad..cc556ba 100644
--- a/perl-Any-Moose.spec
+++ b/perl-Any-Moose.spec
@@ -1,7 +1,7 @@
 Name:           perl-Any-Moose
 Summary:        Use Moose or Mouse automagically
 Version:        0.18
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Any-Moose-%{version}.tar.gz 
@@ -13,7 +13,10 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(MooseX::Types)
 BuildRequires:  perl(Mouse) >= 0.40
+# MouseX::Types requires Any::Moose
+%if !0%{?perl_bootstrap}
 BuildRequires:  perl(MouseX::Types)
+%endif
 BuildRequires:  perl(Test::More)
 
 # virtual provides in perl-Moose and perl-Mouse
@@ -58,6 +61,10 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Apr 06 2012 Iain Arnell <iarnell at gmail.com> 0.18-3
+- avoid circular build-dependency with perl-MooseX-Types (patch from Paul
+  Howarth rhbz#810521)
+
 * Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.18-2
 - drop tests-subpackage; move tests to main package documentation
 


More information about the scm-commits mailing list