c952507
Name:           perl-Perl-Critic-Storable
c952507
Version:        0.01
afa12a0
Release:        2%{?dist}
c952507
Summary:        Policy for Storable.pm
c952507
License:        GPL+ or Artistic
c952507
Group:          Development/Libraries
c952507
URL:            http://search.cpan.org/dist/Perl-Critic-Storable/
c952507
Source0:        http://www.cpan.org/authors/id/M/MA/MATTD/Perl-Critic-Storable-%{version}.tar.gz
c952507
BuildArch:      noarch
c952507
BuildRequires:  perl(ExtUtils::MakeMaker)
c952507
BuildRequires:  perl(Perl::Critic)
c952507
BuildRequires:  perl(Test::More)
c952507
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
c952507
# Plug-in for perlcritic/Test::More. Require them.
c952507
Requires:       perl(Perl::Critic)
c952507
Requires:       perl(Test::More)
c952507
c952507
%description
c952507
An additional Perl::Critic policy for using the Storable module.
c952507
c952507
%prep
c952507
%setup -q -n Perl-Critic-Storable-%{version}
c952507
c952507
%build
c952507
%{__perl} Makefile.PL INSTALLDIRS=perl
c952507
make %{?_smp_mflags}
c952507
c952507
%install
c952507
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
c952507
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
c952507
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
c952507
%{_fixperms} $RPM_BUILD_ROOT/*
c952507
c952507
%check
c952507
make test
c952507
c952507
%files
c952507
%defattr(-,root,root,-)
c952507
%doc Changes README
c952507
%{perl_privlib}/*
c952507
%{_mandir}/man3/*
c952507
c952507
%changelog
afa12a0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-2
afa12a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
afa12a0
c952507
* Tue Jan 25 2011 Petr Pisar <ppisar@redhat.com> 0.01-1
c952507
- Specfile autogenerated by cpanspec 1.78.
c952507
- Remove BuildRoot stuff
c952507
- Install into perl core directory