[perl-Module-Build] Do not run PAR tests on bootstrap

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

 



commit 6963f57cb67159a6e48137be851ee50305dda3e1
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Jun 4 14:40:01 2012 +0200

    Do not run PAR tests on bootstrap

 perl-Module-Build.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index 25ed5e2..44d8a0a 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -1,7 +1,7 @@
 Name:           perl-Module-Build
 Epoch:          2
 Version:        0.40
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -36,12 +36,16 @@ BuildRequires:  perl(IO::File)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Module::Metadata) >= 1.000002
-BuildRequires:  perl(PAR::Dist)
 BuildRequires:  perl(Parse::CPAN::Meta)
 BuildRequires:  perl(Perl::OSType) >= 1
+# Optional tests:
+%if !%{defined perl_bootstrap}
+BuildRequires:  perl(Archive::Zip)
+BuildRequires:  perl(PAR::Dist)
 %if 0%{?fedora}  || 0%{?rhel} < 7
 BuildRequires:  perl(Pod::Readme)
 %endif
+%endif
 BuildRequires:  perl(Test::Harness) >= 3.16
 BuildRequires:  perl(Test::More) >= 0.49
 BuildRequires:  perl(version) >= 0.87
@@ -54,6 +58,7 @@ Requires:       perl(ExtUtils::Manifest) >= 1.54
 Requires:       perl(ExtUtils::Mkbootstrap)
 Requires:       perl(ExtUtils::ParseXS) >= 2.21
 Requires:       perl(Module::Metadata) >= 1.000002
+# Keep PAR support optional (PAR::Dist)
 Requires:       perl(Perl::OSType) >= 1
 Requires:       perl(Test::Harness)
 
@@ -97,6 +102,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jun 04 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 2:0.40-2
+- Do not run PAR tests on bootstrap
+
 * Thu May 31 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 2:0.40-1
 - 0.40 bump
 - All reverse dependecies must require use 2-digit Module::Build version now
--
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