Author: kasal Update of /cvs/extras/rpms/perl-Perl-Critic/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29010 Modified Files: perl-Perl-Critic.spec Log Message: - use the new filtering macros (verified that the resulting provides and requires are the same) - add version to perl(PPI) require (#541020) Index: perl-Perl-Critic.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Perl-Critic/devel/perl-Perl-Critic.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -p -r1.23 -r1.24 --- perl-Perl-Critic.spec 7 Oct 2009 17:00:41 -0000 1.23 +++ perl-Perl-Critic.spec 25 Nov 2009 13:59:21 -0000 1.24 @@ -1,6 +1,6 @@ Name: perl-Perl-Critic Version: 1.105 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Critique Perl source code for best-practices Group: Development/Libraries @@ -17,10 +17,15 @@ BuildRequires: perl(Config::Tiny) >= 2 BuildRequires: perl(File::HomeDir) BuildRequires: perl(IO::String) BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(String::Format) >= 1.13 + BuildRequires: perl(Module::Pluggable) >= 3.1 +Requires: perl(Module::Pluggable) >= 3.1 BuildRequires: perl(PPI) >= 1.205 -BuildRequires: perl(String::Format) >= 1.13 +Requires: perl(PPI) >= 1.205 BuildRequires: perl(Perl::Tidy) +Requires(hint): perl(Perl::Tidy) + BuildRequires: perl(Test::Memory::Cycle) BuildRequires: perl(Readonly) >= 1.03 BuildRequires: perl(Exception::Class) >= 1.23 @@ -36,9 +41,6 @@ BuildRequires: perl(Test::Spelling) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -Requires: perl(Module::Pluggable) >= 3.1 -Requires(hint): perl(Perl::Tidy) - ### auto-added brs! BuildRequires: perl(strict) BuildRequires: perl(Scalar::Util) @@ -65,10 +67,8 @@ BuildRequires: perl(Pod::Select) BuildRequires: perl(English) # don't "provide" private Perl libs -%global _use_internal_dependency_generator 0 -%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u -%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" -%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}" +%{?perl_default_filter} + %description Perl::Critic is an extensible framework for creating and applying coding @@ -119,6 +119,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Nov 25 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.105-2 +- use the new filtering macros (verified that the resulting provides + and requires are the same) +- add version to perl(PPI) require (#541020) + * Wed Oct 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.105-1 - new upstream version - update build requires -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list