|
|
361f238 |
Name: perl-Perl-Critic-Pulp
|
|
|
95508c6 |
Version: 90
|
|
|
fe04c6c |
Release: 4%{?dist}
|
|
|
361f238 |
Summary: Some add-on perlcritic policies
|
|
|
361f238 |
License: GPLv3+
|
|
|
361f238 |
Group: Development/Libraries
|
|
|
361f238 |
URL: http://search.cpan.org/dist/Perl-Critic-Pulp/
|
|
|
361f238 |
Source0: http://www.cpan.org/authors/id/K/KR/KRYDE/Perl-Critic-Pulp-%{version}.tar.gz
|
|
|
361f238 |
BuildArch: noarch
|
|
|
e1c7844 |
BuildRequires: perl
|
|
|
361f238 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
4bb0781 |
BuildRequires: perl(strict)
|
|
|
4bb0781 |
BuildRequires: perl(warnings)
|
|
|
4bb0781 |
# Run-time:
|
|
|
ed3f510 |
BuildRequires: perl(base)
|
|
|
ab9b365 |
BuildRequires: perl(constant)
|
|
|
ed3f510 |
BuildRequires: perl(Exporter)
|
|
|
361f238 |
BuildRequires: perl(IO::String) >= 1.02
|
|
|
361f238 |
BuildRequires: perl(List::MoreUtils) >= 0.24
|
|
|
361f238 |
BuildRequires: perl(List::Util)
|
|
|
361f238 |
BuildRequires: perl(Perl::Critic) >= 1.084
|
|
|
361f238 |
BuildRequires: perl(Perl::Critic::Policy) >= 1.084
|
|
|
361f238 |
BuildRequires: perl(Perl::Critic::Utils) >= 1.100
|
|
|
361f238 |
BuildRequires: perl(Perl::Critic::Utils::PPI)
|
|
|
361f238 |
BuildRequires: perl(Perl::Critic::Violation)
|
|
|
57685f5 |
BuildRequires: perl(Pod::Escapes)
|
|
|
f365c50 |
BuildRequires: perl(Pod::MinimumVersion) >= 50
|
|
|
d157a6d |
BuildRequires: perl(Pod::ParseLink)
|
|
|
f365c50 |
BuildRequires: perl(Pod::Parser)
|
|
|
53af5b3 |
BuildRequires: perl(POSIX)
|
|
|
3d99186 |
BuildRequires: perl(PPI) >= 1.220
|
|
|
361f238 |
BuildRequires: perl(PPI::Document)
|
|
|
361f238 |
BuildRequires: perl(Scalar::Util)
|
|
|
53af5b3 |
BuildRequires: perl(vars)
|
|
|
361f238 |
BuildRequires: perl(version)
|
|
|
ed3f510 |
# Tests only:
|
|
|
80bfd77 |
BuildRequires: perl(Data::Dumper)
|
|
|
53af5b3 |
BuildRequires: perl(lib)
|
|
|
ed3f510 |
BuildRequires: perl(PPI::Dumper)
|
|
|
361f238 |
BuildRequires: perl(Test::More)
|
|
|
361f238 |
# Optional tests only:
|
|
|
53af5b3 |
# Devel::FindRef not needed
|
|
|
53af5b3 |
# Devel::StackTrace not needed
|
|
|
361f238 |
BuildRequires: perl(Perl::MinimumVersion)
|
|
|
e1c7844 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
361f238 |
Requires: perl(IO::String) >= 1.02
|
|
|
361f238 |
Requires: perl(List::MoreUtils) >= 0.24
|
|
|
361f238 |
Requires: perl(Perl::Critic) >= 1.084
|
|
|
f365c50 |
Requires: perl(Pod::MinimumVersion) >= 50
|
|
|
361f238 |
Requires: perl(PPI::Document)
|
|
|
361f238 |
# This is plug-in into Test::More. Depend on it even if not mentioned in the
|
|
|
361f238 |
# code.
|
|
|
361f238 |
Requires: perl(Test::More)
|
|
|
361f238 |
|
|
|
361f238 |
# Filter underspecified dependencies
|
|
|
f288eb0 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(List::MoreUtils\\)\\s*$
|
|
|
f288eb0 |
%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Policy\\)\\s*$
|
|
|
f288eb0 |
%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Utils\\)\\s*$
|
|
|
f288eb0 |
%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Utils\\) >= 0\\.21$
|
|
|
f288eb0 |
%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::PodParser::ProhibitVerbatimMarkup\\)\\s*$
|
|
|
6c8b32c |
# Filter private redefinitions
|
|
|
f288eb0 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Perl::MinimumVersion\\)\\s*$
|
|
|
6c8b32c |
# Filter private parsers
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::PodParser::ProhibitVerbatimMarkup\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Policy::Documentation::ProhibitAdjacentLinks::Parser\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodMinimumVersionViolation\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitBadAproposMarkup\\)\\s*$
|
|
|
bad2b07 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitLinkToSelf\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitParagraphTwoDots\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitUnbalancedParens\\)\\s*$
|
|
|
f288eb0 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::RequireLinkedURLs\\)\\s*$
|
|
|
ed3f510 |
%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::ProhibitDuplicateHashKeys::Qword\\)\\s*$
|
|
|
361f238 |
|
|
|
361f238 |
%description
|
|
|
361f238 |
This is a collection of add-on policies for Perl::Critic. They're under
|
|
|
361f238 |
a "pulp" theme plus other themes according to their purpose (see "POLICY
|
|
|
361f238 |
THEMES" in Perl::Critic).
|
|
|
361f238 |
|
|
|
361f238 |
%prep
|
|
|
361f238 |
%setup -q -n Perl-Critic-Pulp-%{version}
|
|
|
361f238 |
|
|
|
361f238 |
%build
|
|
|
e1c7844 |
perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
361f238 |
make %{?_smp_mflags}
|
|
|
361f238 |
|
|
|
361f238 |
%install
|
|
|
b82b79a |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
361f238 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
361f238 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
361f238 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
361f238 |
|
|
|
361f238 |
%check
|
|
|
361f238 |
make test
|
|
|
361f238 |
|
|
|
361f238 |
%files
|
|
|
95508c6 |
%license COPYING
|
|
|
95508c6 |
%doc Changes README
|
|
|
361f238 |
%{perl_privlib}/*
|
|
|
361f238 |
%{_mandir}/man3/*
|
|
|
361f238 |
|
|
|
361f238 |
%changelog
|
|
|
fe04c6c |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 90-4
|
|
|
fe04c6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fe04c6c |
|
|
|
548a938 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 90-3
|
|
|
548a938 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
548a938 |
|
|
|
cfd8040 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 90-2
|
|
|
cfd8040 |
- Perl 5.22 rebuild
|
|
|
cfd8040 |
|
|
|
95508c6 |
* Mon Mar 09 2015 Petr Pisar <ppisar@redhat.com> - 90-1
|
|
|
95508c6 |
- 90 version bump
|
|
|
95508c6 |
|
|
|
53af5b3 |
* Mon Jan 05 2015 Petr Pisar <ppisar@redhat.com> - 89-1
|
|
|
53af5b3 |
- 89 version bump
|
|
|
53af5b3 |
|
|
|
3d99186 |
* Tue Nov 25 2014 Petr Pisar <ppisar@redhat.com> - 88-1
|
|
|
3d99186 |
- 88 version bump
|
|
|
3d99186 |
|
|
|
381c1a8 |
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 87-1
|
|
|
381c1a8 |
- 87 version bump
|
|
|
381c1a8 |
|
|
|
53e6959 |
* Tue Nov 18 2014 Petr Pisar <ppisar@redhat.com> - 86-1
|
|
|
53e6959 |
- 86 version bump
|
|
|
53e6959 |
|
|
|
cd29e30 |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 85-3
|
|
|
cd29e30 |
- Perl 5.20 rebuild
|
|
|
cd29e30 |
|
|
|
1430c17 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 85-2
|
|
|
1430c17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1430c17 |
|
|
|
120b98b |
* Fri May 09 2014 Petr Pisar <ppisar@redhat.com> - 85-1
|
|
|
120b98b |
- 85 version bump
|
|
|
120b98b |
|
|
|
57685f5 |
* Wed May 07 2014 Petr Pisar <ppisar@redhat.com> - 84-1
|
|
|
57685f5 |
- 84 version bump
|
|
|
57685f5 |
|
|
|
3672e5d |
* Wed May 07 2014 Petr Pisar <ppisar@redhat.com> - 83-1
|
|
|
3672e5d |
- 83 version bump
|
|
|
3672e5d |
|
|
|
680bf35 |
* Mon Apr 28 2014 Petr Pisar <ppisar@redhat.com> - 82-1
|
|
|
680bf35 |
- 82 version bump
|
|
|
680bf35 |
|
|
|
875bc20 |
* Fri Apr 04 2014 Petr Pisar <ppisar@redhat.com> - 81-1
|
|
|
875bc20 |
- 81 version bump
|
|
|
875bc20 |
|
|
|
0501488 |
* Thu Apr 03 2014 Petr Pisar <ppisar@redhat.com> - 80-2
|
|
|
0501488 |
- Restore compatibility with version-0.9907 (#1083991)
|
|
|
0501488 |
|
|
|
4bb0781 |
* Tue Aug 06 2013 Petr Pisar <ppisar@redhat.com> - 80-1
|
|
|
4bb0781 |
- 80 version bump
|
|
|
4bb0781 |
|
|
|
1ecd6af |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 79-3
|
|
|
1ecd6af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1ecd6af |
|
|
|
cce1d88 |
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 79-2
|
|
|
cce1d88 |
- Perl 5.18 rebuild
|
|
|
cce1d88 |
|
|
|
bdea0af |
* Wed Mar 20 2013 Petr Pisar <ppisar@redhat.com> - 79-1
|
|
|
bdea0af |
- 79 bump
|
|
|
bdea0af |
|
|
|
58da8a0 |
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> - 78-1
|
|
|
58da8a0 |
- 78 bump
|
|
|
58da8a0 |
|
|
|
e1c7844 |
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 77-1
|
|
|
e1c7844 |
- 77 bump
|
|
|
e1c7844 |
|
|
|
a7928ec |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 76-2
|
|
|
a7928ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a7928ec |
|
|
|
c5d7abb |
* Mon Jan 21 2013 Petr Pisar <ppisar@redhat.com> - 76-1
|
|
|
c5d7abb |
- 76 bump
|
|
|
c5d7abb |
|
|
|
5734961 |
* Mon Nov 26 2012 Petr Pisar <ppisar@redhat.com> - 75-1
|
|
|
5734961 |
- 75 bump
|
|
|
5734961 |
|
|
|
344ef6e |
* Mon Oct 29 2012 Petr Pisar <ppisar@redhat.com> - 74-1
|
|
|
344ef6e |
- 74 bump
|
|
|
344ef6e |
|
|
|
6b361d6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 73-3
|
|
|
6b361d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6b361d6 |
|
|
|
a3c2167 |
* Tue Jul 03 2012 Petr Pisar <ppisar@redhat.com> - 73-2
|
|
|
a3c2167 |
- Perl 5.16 rebuild
|
|
|
a3c2167 |
|
|
|
0064e49 |
* Mon Jul 02 2012 Petr Pisar <ppisar@redhat.com> - 73-1
|
|
|
0064e49 |
- 73 bump
|
|
|
0064e49 |
|
|
|
78ba691 |
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 72-2
|
|
|
78ba691 |
- Perl 5.16 rebuild
|
|
|
78ba691 |
|
|
|
ca79b24 |
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 72-1
|
|
|
ca79b24 |
- 72 bump
|
|
|
ca79b24 |
|
|
|
516b883 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 71-1
|
|
|
516b883 |
- 71 bump
|
|
|
516b883 |
|
|
|
ab9b365 |
* Fri May 18 2012 Petr Pisar <ppisar@redhat.com> - 70-1
|
|
|
ab9b365 |
- 70 bump
|
|
|
ab9b365 |
|
|
|
ed3f510 |
* Mon Jan 30 2012 Petr Pisar <ppisar@redhat.com> - 69-1
|
|
|
ed3f510 |
- 69 bump
|
|
|
ed3f510 |
|
|
|
89d53f6 |
* Fri Jan 27 2012 Petr Pisar <ppisar@redhat.com> - 68-1
|
|
|
89d53f6 |
- 68 bump
|
|
|
89d53f6 |
|
|
|
9557955 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 67-2
|
|
|
9557955 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9557955 |
|
|
|
d157a6d |
* Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> - 67-1
|
|
|
d157a6d |
- 67 bump
|
|
|
d157a6d |
|
|
|
6cebb7b |
* Mon Dec 12 2011 Petr Pisar <ppisar@redhat.com> - 66-1
|
|
|
6cebb7b |
- 66 bump
|
|
|
6cebb7b |
|
|
|
e7cc75b |
* Mon Sep 19 2011 Petr Pisar <ppisar@redhat.com> - 65-1
|
|
|
e7cc75b |
- 65 bump
|
|
|
e7cc75b |
|
|
|
bad2b07 |
* Mon Aug 22 2011 Petr Pisar <ppisar@redhat.com> - 64-1
|
|
|
bad2b07 |
- 64 bump
|
|
|
bad2b07 |
|
|
|
dccf4e2 |
* Tue Jul 26 2011 Petr Pisar <ppisar@redhat.com> - 62-1
|
|
|
115abdf |
- 62 bump
|
|
|
6c8b32c |
- Remove RPM 4.8 filters
|
|
|
dccf4e2 |
|
|
|
f288eb0 |
* Tue Jul 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 61-3
|
|
|
f288eb0 |
- add RPM4.9 macro filter
|
|
|
f288eb0 |
|
|
Petr Sabata |
932af4d |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 61-2
|
|
Petr Sabata |
932af4d |
- Perl mass rebuild
|
|
Petr Sabata |
932af4d |
|
|
|
2697e83 |
* Mon Jun 06 2011 Petr Pisar <ppisar@redhat.com> - 61-1
|
|
|
2697e83 |
- Version 61 bump
|
|
|
2697e83 |
|
|
|
ac9bf6e |
* Mon May 23 2011 Petr Pisar <ppisar@redhat.com> - 60-2
|
|
|
ac9bf6e |
- Remove explicit defattr
|
|
|
ac9bf6e |
|
|
|
cc87084 |
* Mon May 23 2011 Petr Pisar <ppisar@redhat.com> - 60-1
|
|
|
cc87084 |
- Version 60 bump
|
|
|
cc87084 |
|
|
|
1178f39 |
* Tue May 10 2011 Petr Pisar <ppisar@redhat.com> - 59-1
|
|
|
1178f39 |
- Version 59 bump
|
|
|
1178f39 |
|
|
|
b0d2000 |
* Tue May 10 2011 Petr Pisar <ppisar@redhat.com> - 58-1
|
|
|
b0d2000 |
- Version 58 bump
|
|
|
b0d2000 |
|
|
|
13bb5d8 |
* Fri May 06 2011 Petr Pisar <ppisar@redhat.com> - 57-1
|
|
|
13bb5d8 |
- Version 57 bump
|
|
|
13bb5d8 |
|
|
|
55eb677 |
* Thu Apr 28 2011 Petr Pisar <ppisar@redhat.com> - 56-1
|
|
|
55eb677 |
- Version 56 bump
|
|
|
55eb677 |
- Do not provide private parsers
|
|
|
55eb677 |
|
|
|
d4c26b9 |
* Tue Apr 26 2011 Petr Pisar <ppisar@redhat.com> - 55-1
|
|
|
d4c26b9 |
- Version 55 bump
|
|
|
d4c26b9 |
|
|
|
91257d7 |
* Thu Apr 21 2011 Petr Pisar <ppisar@redhat.com> - 54-1
|
|
|
91257d7 |
- 54 bump
|
|
|
91257d7 |
|
|
|
4af7cd1 |
* Thu Apr 21 2011 Petr Pisar <ppisar@redhat.com> - 51-1
|
|
|
f365c50 |
- Version 51 bump
|
|
|
f365c50 |
|
|
|
50870c8 |
* Thu Apr 21 2011 Petr Pisar <ppisar@redhat.com> - 46-2
|
|
|
50870c8 |
- Do not provide Perl::MinimumVersion
|
|
|
50870c8 |
|
|
|
361f238 |
* Tue Jan 25 2011 Petr Pisar <ppisar@redhat.com> 46-1
|
|
|
361f238 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
361f238 |
- Remove BuidRoot stuff
|
|
|
361f238 |
- Install into perl core direcotory
|
|
|
361f238 |
- Make the package no-architecture depndend (the XS compilation is test-time)
|