[perl-namespace-autoclean] Disable BRs MooseX::MarkAsMethods and MooseX::Role::WithOverloading

Jitka Plesnikova jplesnik at fedoraproject.org
Fri Aug 15 13:20:37 UTC 2014


commit ca4f49dcb3af01bf53d9c30d95e0418b867df7f7
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Fri Aug 15 15:20:38 2014 +0200

    Disable BRs MooseX::MarkAsMethods and MooseX::Role::WithOverloading

 perl-namespace-autoclean.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-namespace-autoclean.spec b/perl-namespace-autoclean.spec
index ded3f9a..8e099ec 100644
--- a/perl-namespace-autoclean.spec
+++ b/perl-namespace-autoclean.spec
@@ -1,6 +1,6 @@
 Name:       perl-namespace-autoclean
 Version:    0.19
-Release:    1%{?dist}
+Release:    2%{?dist}
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Keep imports out of your namespace
@@ -38,10 +38,12 @@ BuildRequires:  perl(Moo) >= 1.000007
 %endif
 BuildRequires:  perl(Moose) >= 0.56
 BuildRequires:  perl(Moose::Role)
+%if ! %{defined perl_bootstrap}
 %if 0%{?fedora} || 0%{?rhel} > 7
 BuildRequires:  perl(MooseX::MarkAsMethods)
 %endif
 BuildRequires:  perl(MooseX::Role::WithOverloading) >= 0.09
+%endif
 BuildRequires:  perl(Mouse)
 BuildRequires:  perl(Sub::Name)
 # Runtime
@@ -80,6 +82,10 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/namespace::autoclean.3pm*
 
 %changelog
+* Fri Aug 15 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.19-2
+- Disable BRs MooseX::MarkAsMethods and MooseX::Role::WithOverloading to
+  avoid circular deps when bootstrapping
+
 * Thu Aug 14 2014 Paul Howarth <paul at city-fan.org> - 0.19-1
 - Update to 0.19
   - Bump dependency on B::Hooks::EndOfScope, to get the separation of pure-perl



More information about the perl-devel mailing list