Conditionalize test packages.
This commit is contained in:
parent
6b5650fa8f
commit
fd54f63056
@ -4,7 +4,7 @@
|
||||
Name: perl-Test-Requires
|
||||
Summary: Checks to see if a given module can be loaded
|
||||
Version: 0.06
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Requires
|
||||
@ -16,11 +16,13 @@ BuildRequires: perl(Test::Builder::Module)
|
||||
BuildRequires: perl(Test::More) >= 0.61
|
||||
# Test::Perl::Critic -> Perl::Critic -> PPIx::Regexp -> Test::Kwalitee ->
|
||||
# Module::CPANTS::Analyse -> Test::Warn -> Sub::Uplevel -> Pod::Wordlist::hanekomu -> Test::Requires
|
||||
%if ! ( 0%{?rhel} )
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
BuildRequires: perl(Test::Perl::Critic)
|
||||
%endif
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Spelling)
|
||||
%endif
|
||||
%if %(perl -e 'print $] >= 5.010 ? 1 : 0;')
|
||||
BuildRequires: hunspell-en
|
||||
%else
|
||||
@ -67,6 +69,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Test::Requires.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 15 2012 Marcela Maslanova <mmaslano@redhat.com> - 0.06-8
|
||||
- Conditionalize test packages
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user