commit ef621d2cfa61431762f13f94be960303bdf0a6c7 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Oct 29 11:04:50 2013 +0100 1.118 bump .gitignore | 1 + perl-Perl-Critic-Deprecated.spec | 49 +++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 30 insertions(+), 22 deletions(-) --- diff --git a/.gitignore b/.gitignore index 34a262d..1de8f0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Perl-Critic-Deprecated-1.108.tar.gz +/Perl-Critic-Deprecated-1.118.tar.gz diff --git a/perl-Perl-Critic-Deprecated.spec b/perl-Perl-Critic-Deprecated.spec index f48079c..77332a1 100644 --- a/perl-Perl-Critic-Deprecated.spec +++ b/perl-Perl-Critic-Deprecated.spec @@ -1,64 +1,71 @@ Name: perl-Perl-Critic-Deprecated -Version: 1.108 -Release: 9%{?dist} +Version: 1.118 +Release: 1%{?dist} Summary: Perl::Critic policies which have been superseded by others License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Perl-Critic-Deprecated/ -Source0: http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Perl-Critic-Deprecated-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/T/TH/THALJEF/Perl-Critic-Deprecated-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Exporter) +BuildRequires: perl +BuildRequires: perl(English) BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) +# Carp not used by tests +# Exporter not used by tests +# List::MoreUtils not used by tests BuildRequires: perl(Perl::Critic::Policy) >= 1.094 -BuildRequires: perl(Perl::Critic::TestUtils) >= 1.094 BuildRequires: perl(Perl::Critic::Utils) >= 1.094 -BuildRequires: perl(PPI::Node) +# PPI::Node not used by tests BuildRequires: perl(Readonly) +# Optional run-time: +# Regexp::Parser not used by tests +# Tests: +BuildRequires: perl(Carp) +BuildRequires: perl(Perl::Critic::TestUtils) >= 1.094 BuildRequires: perl(Test::More) -# Tests only -BuildRequires: perl(File::Slurp) -BuildRequires: perl(Perl::Critic::TestUtils) -BuildRequires: perl(Test::Pod::Coverage) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Perl::Critic::Policy) >= 1.094 Requires: perl(Perl::Critic::Utils) >= 1.094 +# Perl::Critic::Policy::Miscellanea::RequireRcsKeywords moved from +# perl-Perl-Critic-More here. Bugs #839815, 1023708. +Conflicts: perl-Perl-Critic-More <= 1.000-11 # Filter underspecified dependecies -# RPM 4.8 style: -%filter_from_requires /^perl(Perl::Critic::Policy)$/d -%filter_from_requires /^perl(Perl::Critic::Utils)$/d -%filter_setup -# RPM 4.9 style: -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Perl::Critic::Policy\\)$ -%global __requires_exclude %__requires_exclude|^perl\\(Perl::Critic::Utils\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Perl::Critic::Policy|Perl::Critic::Utils)\\)$ %description The included policies are: - Write "$my_variable = 42" instead of "$MyVariable = 42". - Write "sub my_function{}" instead of "sub MyFunction{}". + - Write RCS keywords like "$Revision: 42 $" into source files. %prep %setup -q -n Perl-Critic-Deprecated-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Oct 29 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.118-1 +- 1.118 bump + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.108-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 562fe3f..05b6c9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1aa62449ce6b29bd2d00f5536577460e Perl-Critic-Deprecated-1.108.tar.gz +1b7fc22927e26ec338f28be46c639358 Perl-Critic-Deprecated-1.118.tar.gz -- 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