[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Perl-Critic/devel perl-Perl-Critic.spec,1.4,1.5



Author: jpo

Update of /cvs/extras/rpms/perl-Perl-Critic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19781

Modified Files:
	perl-Perl-Critic.spec 
Log Message:
Enable author tests (work in progress).


Index: perl-Perl-Critic.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Perl-Critic/devel/perl-Perl-Critic.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Perl-Critic.spec	17 Dec 2006 15:02:30 -0000	1.4
+++ perl-Perl-Critic.spec	17 Dec 2006 15:57:22 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           perl-Perl-Critic
 Version:        0.22
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Critique Perl source code for best-practices
 
 Group:          Development/Libraries
@@ -12,6 +12,7 @@
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Config::Tiny) >= 2
+BuildRequires:  perl(File::HomeDir)
 BuildRequires:  perl(IO::String)
 BuildRequires:  perl(List::MoreUtils)
 BuildRequires:  perl(Module::Pluggable) >= 3.1
@@ -19,10 +20,15 @@
 BuildRequires:  perl(Set::Scalar) >= 1.20
 BuildRequires:  perl(String::Format) >= 1.13
 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::Coverage)
 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)
 
 %description
@@ -53,9 +59,9 @@
 
 
 %check
-# Author tests would require: Test::Kwalitee, Test::Spelling, File::Which, and aspell
-# TEST_AUTHOR=1 ./Build test
-./Build test
+# Additional requirements of author tests:
+#   Test::Kwalitee, Test::Spelling, File::Which, and aspell
+TEST_AUTHOR=1 ./Build test
 
 
 %clean
@@ -72,6 +78,10 @@
 
 
 %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
 - Update to 0.22.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]