[perl-Filter] Skip optional Test::Pod on bootstraping perl

Petr Pisar ppisar at fedoraproject.org
Thu May 31 14:15:05 UTC 2012


commit 9465cc196b0127c9f0a9b6c19165e07d31212cc8
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu May 31 16:14:54 2012 +0200

    Skip optional Test::Pod on bootstraping perl

 perl-Filter.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Filter.spec b/perl-Filter.spec
index d093ff1..9a156c0 100644
--- a/perl-Filter.spec
+++ b/perl-Filter.spec
@@ -1,6 +1,6 @@
 Name:           perl-Filter
 Version:        1.43
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl source filters
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -16,7 +16,9 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Cwd)
 # Optional tests
 BuildRequires:  perl(Test::More)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(Test::Pod) >= 1.00
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -57,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 31 2012 Petr Pisar <ppisar at redhat.com> - 1.43-2
+- Skip optional Test::Pod on bootstraping perl
+
 * Mon Feb 27 2012 Petr Pisar <ppisar at redhat.com> - 1.43-1
 - 1.43 bump
 



More information about the perl-devel mailing list