|
|
|
@ -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@redhat.com> - 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@redhat.com> - 1.105-1
|
|
|
|
|
- new upstream version
|
|
|
|
|
- update build requires
|
|
|
|
|