[perl-Parse-CPAN-Meta] Don't BR: CPAN::Meta & CPAN::Meta::Requirements when bootstrapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1c3fb38f9ae4659400ea55d2c34f6ffd96b5695d
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Apr 8 10:57:18 2014 +0100

    Don't BR: CPAN::Meta & CPAN::Meta::Requirements when bootstrapping

 perl-Parse-CPAN-Meta.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-Parse-CPAN-Meta.spec b/perl-Parse-CPAN-Meta.spec
index dc58537..64539d2 100644
--- a/perl-Parse-CPAN-Meta.spec
+++ b/perl-Parse-CPAN-Meta.spec
@@ -2,7 +2,7 @@ Name:           perl-Parse-CPAN-Meta
 # dual-lifed module needs to match the epoch in perl.spec
 Epoch:          1
 Version:        1.4414
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Parse META.yml and META.json CPAN meta-data files
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -11,8 +11,11 @@ Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-%{v
 BuildArch:      noarch
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(CPAN::Meta::YAML) >= 0.011
+# CPAN::Meta needs Parse::CPAN::Meta
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(CPAN::Meta)
 BuildRequires:  perl(CPAN::Meta::Requirements)
+%endif
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -48,7 +51,6 @@ make %{?_smp_mflags}
 make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
@@ -61,6 +63,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr  8 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1:1.4414-2
+- Don't BR: CPAN::Meta & CPAN::Meta::Requirements when bootstrapping
+
 * Wed Mar 12 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1:1.4414-1
 - Upstream update.
 - Reflect upstream R:/BR:-changes.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux