Name: perl-Perl-Critic-Storable Version: 0.01 Release: 2%{?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 Feb 08 2011 Fedora Release Engineering - 0.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jan 25 2011 Petr Pisar 0.01-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot stuff - Install into perl core directory