Name: perl-Devel-GoFaster Version: 0.000 Release: 1%{?dist} Summary: Optimise executable Perl ops License: GPL+ or Artistic URL: http://search.cpan.org/dist/Devel-GoFaster/ Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Devel-GoFaster-%{version}.tar.gz # Build BuildRequires: perl BuildRequires: perl(Module::Build) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime # XXX: BuildRequires: perl(Carp) BuildRequires: perl(Lexical::SealRequireHints) >= 0.007 BuildRequires: perl(XSLoader) # Tests only BuildRequires: perl(Test::More) # Optional tests only BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Carp) Requires: perl(XSLoader) %description This module implements some optimisations in compiled Perl code, which should make it run slightly faster without visibly affecting behaviour. The optimisations are applied at the peephole optimisation step, augmenting Perl's built-in optimisations. %prep %setup -q -n Devel-GoFaster-%{version} %build perl Build.PL --installdirs=vendor --optimize="%{optflags}" ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot}/* %check ./Build test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Devel* %{_mandir}/man3/* %changelog * Fri Aug 28 2015 Petr Ĺ abata 0.000-1 - Initial packaging