Tidy up buildreqs
- BR: perl(base), perl(Cwd), perl(Data::Dumper) - RHEL builds don't use Test::Spelling so they don't need dictionaries either
This commit is contained in:
parent
fd54f63056
commit
3c62bf5057
@ -4,30 +4,33 @@
|
||||
Name: perl-Test-Requires
|
||||
Summary: Checks to see if a given module can be loaded
|
||||
Version: 0.06
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Requires
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::Builder::Module)
|
||||
BuildRequires: perl(Test::More) >= 0.61
|
||||
%if ! ( 0%{?rhel} )
|
||||
# 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
|
||||
BuildRequires: aspell-en
|
||||
%endif
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%if ! %{rpm49}
|
||||
Requires: perl(Test::Builder::Module)
|
||||
@ -69,6 +72,10 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Test::Requires.3pm*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 0.06-9
|
||||
- BR: perl(base), perl(Cwd), perl(Data::Dumper)
|
||||
- RHEL builds don't use Test::Spelling so they don't need dictionaries either
|
||||
|
||||
* Wed Aug 15 2012 Marcela Maslanova <mmaslano@redhat.com> - 0.06-8
|
||||
- Conditionalize test packages
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user