Name: perl-Function-Parameters Version: 1.0705 Release: 2%{?dist} Summary: Subroutine definitions with parameter lists License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Function-Parameters/ Source0: http://www.cpan.org/authors/id/M/MA/MAUKE/Function-Parameters-%{version}.tar.gz BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) BuildRequires: perl(Moose) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) # Loads Moo if Moose is not loaded BuildRequires: perl(Moo) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(overload) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(aliased) BuildRequires: perl(attributes) BuildRequires: perl(constant) BuildRequires: perl(Dir::Self) BuildRequires: perl(feature) BuildRequires: perl(integer) BuildRequires: perl(lib) BuildRequires: perl(Moose::Util) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Sub::Name) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) BuildRequires: perl(utf8) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Loads Moo if Moose is not loaded Requires: perl(Moo) Requires: perl(Moose::Util::TypeConstraints) %description This module extends Perl with keywords that let you define functions with parameter lists. It uses Perl's keyword plugin API, so it works reliably and doesn't require a source filter. %prep %setup -q -n Function-Parameters-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Function* %{_mandir}/man3/* %changelog * Sat Feb 11 2017 Fedora Release Engineering - 1.0705-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 15 2016 Petr Pisar - 1.0705-1 - 1.0705 bump * Mon May 16 2016 Jitka Plesnikova - 1.0704-2 - Perl 5.24 rebuild * Mon Feb 15 2016 Petr Pisar - 1.0704-1 - 1.0704 bump * Thu Feb 04 2016 Petr Pisar 1.0703-1 - Specfile autogenerated by cpanspec 1.78. - Address mistakes found by review