[perl-Perl-Critic] Split Test::Perl::Critic::Policy off into its own package

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

 



commit 0bc1d1f650a3bdd7a856e2855792208bc0031fc7
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Mar 29 13:31:19 2011 +0100

    Split Test::Perl::Critic::Policy off into its own package

 perl-Perl-Critic.spec |   27 +++++++++++++++++++++++----
 1 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index ad89fe0..44fc663 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -84,6 +84,19 @@ and customize those Polices through the Perl::Critic interface. You can
 also create new Policy modules that suit your own tastes.
 
 
+%package -n perl-Test-Perl-Critic-Policy
+Summary:        A framework for testing your custom Policies
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+
+
+%description -n perl-Test-Perl-Critic-Policy
+This module provides a framework for function-testing your custom
+Perl::Critic::Policy modules. Policy testing usually involves feeding it a
+string of Perl code and checking its behavior. In the old days, those strings
+of Perl code were mixed directly in the test script. That sucked.
+
+
 %prep
 %setup -q -n Perl-Critic-%{version}
 find . -type f -exec chmod -c -x {} +
@@ -109,11 +122,16 @@ find . -type f -exec chmod -c -x {} +
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README TODO.pod examples/ extras/ tools/
-%{_bindir}/*
+%{_bindir}/perlcritic
 %{perl_vendorlib}/Perl/
-%{perl_vendorlib}/Test/*
-%{_mandir}/man1/*.1*
-%{_mandir}/man3/*.3pm*
+%{_mandir}/man1/perlcritic.1*
+%{_mandir}/man3/Perl::Critic*.3pm*
+
+
+%files -n perl-Test-Perl-Critic-Policy
+%defattr(-,root,root,-)
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::Perl::Critic::Policy.3pm*
 
 
 %changelog
@@ -145,6 +163,7 @@ find . -type f -exec chmod -c -x {} +
 - bump PPI version requirement to 1.215
 - BR/R: perl(Pod::Parser)
 - drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning
+- split Test::Perl::Critic::Policy off into its own package
 
 * Mon Mar  7 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 1.113-1
 - update to 1.113
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux