Skip optional Test::Pod on bootstraping perl

This commit is contained in:
Petr Písař 2012-05-31 16:14:54 +02:00
parent 712792ebc1
commit 9465cc196b

View File

@ -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@redhat.com> - 1.43-2
- Skip optional Test::Pod on bootstraping perl
* Mon Feb 27 2012 Petr Pisar <ppisar@redhat.com> - 1.43-1
- 1.43 bump