commit c95250723613e6d466de1fe789b5bc3642740a5c Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Wed Jan 26 10:10:30 2011 +0100 Import .gitignore | 1 + perl-Perl-Critic-Storable.spec | 47 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ba613d7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Perl-Critic-Pulp-46.tar.gz diff --git a/perl-Perl-Critic-Storable.spec b/perl-Perl-Critic-Storable.spec new file mode 100644 index 0000000..753be29 --- /dev/null +++ b/perl-Perl-Critic-Storable.spec @@ -0,0 +1,47 @@ +Name: perl-Perl-Critic-Storable +Version: 0.01 +Release: 1%{?dist} +Summary: Policy for Storable.pm +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Perl-Critic-Storable/ +Source0: http://www.cpan.org/authors/id/M/MA/MATTD/Perl-Critic-Storable-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Perl::Critic) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Plug-in for perlcritic/Test::More. Require them. +Requires: perl(Perl::Critic) +Requires: perl(Test::More) + +%description +An additional Perl::Critic policy for using the Storable module. + +%prep +%setup -q -n Perl-Critic-Storable-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_privlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Jan 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.01-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot stuff +- Install into perl core directory diff --git a/sources b/sources index e69de29..5df78d7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e62662eb64c6d43a364a66bac7461170 Perl-Critic-Pulp-46.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