Name: perl-indirect Version: 0.26 Release: 2%{?dist} Summary: Lexically warn about using the indirect object syntax License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/indirect/ Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/indirect-%{version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Kwalitee) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Portability::Files) BuildRequires: perl(XSLoader) Requires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description When enabled (or disabled as some may prefer to say, since you actually turn it on by calling no indirect), this pragma warns about indirect object syntax constructs that may have slipped into your code. %prep %setup -q -n indirect-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/indirect* %{_mandir}/man3/* %changelog * Sat Jan 14 2012 Fedora Release Engineering - 0.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Nov 06 2011 Iain Arnell 0.26-1 - update to latest upstream version * Sun Aug 28 2011 Iain Arnell 0.25-1 - update to latest upstream version * Wed Aug 24 2011 Iain Arnell 0.24-2 - remove unnecessary explicit BR on perl * Thu Aug 11 2011 Iain Arnell 0.24-1 - Specfile autogenerated by cpanspec 1.78.