Enable author tests (work in progress).
This commit is contained in:
parent
fcf57205b2
commit
14fc4487cb
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Perl-Critic
|
Name: perl-Perl-Critic
|
||||||
Version: 0.22
|
Version: 0.22
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Critique Perl source code for best-practices
|
Summary: Critique Perl source code for best-practices
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -12,6 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Config::Tiny) >= 2
|
BuildRequires: perl(Config::Tiny) >= 2
|
||||||
|
BuildRequires: perl(File::HomeDir)
|
||||||
BuildRequires: perl(IO::String)
|
BuildRequires: perl(IO::String)
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Module::Pluggable) >= 3.1
|
BuildRequires: perl(Module::Pluggable) >= 3.1
|
||||||
@ -19,10 +20,15 @@ BuildRequires: perl(PPI) >= 1.118
|
|||||||
BuildRequires: perl(Set::Scalar) >= 1.20
|
BuildRequires: perl(Set::Scalar) >= 1.20
|
||||||
BuildRequires: perl(String::Format) >= 1.13
|
BuildRequires: perl(String::Format) >= 1.13
|
||||||
BuildRequires: perl(Perl::Tidy)
|
BuildRequires: perl(Perl::Tidy)
|
||||||
|
# Author tests
|
||||||
|
#BuildRequires: aspell
|
||||||
|
#BuildRequires: perl(File::Which)
|
||||||
|
#BuildRequires: perl(Test::Kwalitee)
|
||||||
|
#BuildRequires: perl(Test::Spelling)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Requires: perl(Module::Pluggable)
|
Requires: perl(Module::Pluggable) >= 3.1
|
||||||
Requires(hint): perl(Perl::Tidy)
|
Requires(hint): perl(Perl::Tidy)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,9 +59,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Author tests would require: Test::Kwalitee, Test::Spelling, File::Which, and aspell
|
# Additional requirements of author tests:
|
||||||
# TEST_AUTHOR=1 ./Build test
|
# Test::Kwalitee, Test::Spelling, File::Which, and aspell
|
||||||
./Build test
|
TEST_AUTHOR=1 ./Build test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -72,6 +78,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2
|
||||||
|
- Enabled author tests.
|
||||||
|
- BR perl(HomeDir).
|
||||||
|
|
||||||
* Sun Dec 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
|
* Sun Dec 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
|
||||||
- Update to 0.22.
|
- Update to 0.22.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user