[perl-Module-Build] conditionalize some test

Marcela Mašláňová mmaslano at fedoraproject.org
Wed May 30 13:09:25 UTC 2012


commit d436e5e3d8477844f8ab1fd8c455076bc4952f96
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Wed May 30 15:09:15 2012 +0200

    conditionalize some test

 perl-Module-Build.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index a3d7716..9f14c74 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -1,7 +1,7 @@
 Name:           perl-Module-Build
 Epoch:          1
 Version:        0.3800
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -38,7 +38,9 @@ BuildRequires:  perl(Module::Metadata) >= 1.000002
 BuildRequires:  perl(PAR::Dist)
 BuildRequires:  perl(Parse::CPAN::Meta)
 BuildRequires:  perl(Perl::OSType) >= 1
+%if 0%{?fedora}  || 0%{?rhel} < 7
 BuildRequires:  perl(Pod::Readme)
+%endif
 BuildRequires:  perl(Test::Harness) >= 3.16
 BuildRequires:  perl(Test::More) >= 0.49
 BuildRequires:  perl(version) >= 0.87
@@ -93,6 +95,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
 %{_mandir}/man3/*
 
 %changelog
+* Wed May 30 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1:0.3800-5
+- conditionalize some test
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.3800-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list