commit 65cb4ad57e98be09411254473b97cffb743c19f3 Author: Petr Písař ppisar@redhat.com Date: Wed Jun 1 09:23:10 2011 +0200
Import
.gitignore | 1 + perl-Task-Perl-Critic.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..26371d7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Task-Perl-Critic-1.007.tar.gz diff --git a/perl-Task-Perl-Critic.spec b/perl-Task-Perl-Critic.spec new file mode 100644 index 0000000..ef6d266 --- /dev/null +++ b/perl-Task-Perl-Critic.spec @@ -0,0 +1,65 @@ +Name: perl-Task-Perl-Critic +Version: 1.007 +Release: 1%{?dist} +Summary: Install everything Perl::Critic +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Task-Perl-Critic/ +Source0: http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Task-Perl-Critic-%%7Bversion%7D... +BuildArch: noarch +BuildRequires: perl(Module::Build) +# Other requires from META.yml are not needed at build and check time. There +# is no code, no provided modules. Do not BuildRequire them. +# Tests only: +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(criticism) >= 1.01 +Requires: perl(Perl::Critic) >= 1.085 +Requires: perl(Perl::Critic::Bangs) >= 1.00 +Requires: perl(Perl::Critic::Compatibility) >= 1.000 +Requires: perl(Perl::Critic::Lax) >= 0.007 +Requires: perl(Perl::Critic::More) >= 1.000 +Requires: perl(Perl::Critic::Nits) >= 1.000000 +Requires: perl(Perl::Critic::PetPeeves::JTRAMMELL) >= 0.01 +Requires: perl(Perl::Critic::Pulp) >= 3 +Requires: perl(Perl::Critic::Storable) +Requires: perl(Perl::Critic::StricterSubs) >= 0.03 +# Perl::Critic::Swift: 1.000003 is decimal notion for 1.0.3 version +Requires: perl(Perl::Critic::Swift) >= 1.0.3 +Requires: perl(Perl::Critic::Tics) >= 0.005 +Requires: perl(Test::Perl::Critic) >= 1.01 +Requires: perl(Test::Perl::Critic::Progressive) >= 0.02 + +%description +This module does nothing but act as a placeholder. See Task. + +%prep +%setup -q -n Task-Perl-Critic-%{version} + +%build +%{__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 +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Jan 25 2011 Petr Pisar ppisar@redhat.com 1.007-1 +- Specfile autogenerated by cpanspec 1.78. +- Do not BuildRequire run-time dependencies, they are not used at build and + check time indeed. +- Remove BuildRoot stuff +- Remove explicit defattr + diff --git a/sources b/sources index e69de29..8888571 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0a1e57fd2eff60868f0fee7409f5d027 Task-Perl-Critic-1.007.tar.gz
perl-devel@lists.fedoraproject.org