|
|
@ -1,10 +1,11 @@
|
|
|
|
Name: perl-Function-Parameters
|
|
|
|
Name: perl-Function-Parameters
|
|
|
|
Version: 1.0706
|
|
|
|
%global cpan_version 2.000002
|
|
|
|
|
|
|
|
Version: 2.0.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Subroutine definitions with parameter lists
|
|
|
|
Summary: Subroutine definitions with parameter lists
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Function-Parameters/
|
|
|
|
URL: http://search.cpan.org/dist/Function-Parameters/
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MA/MAUKE/Function-Parameters-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MA/MAUKE/Function-Parameters-%{cpan_version}.tar.gz
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -19,10 +20,9 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
# Loads Moo if Moose is not loaded
|
|
|
|
|
|
|
|
BuildRequires: perl(Moo)
|
|
|
|
|
|
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(aliased)
|
|
|
|
BuildRequires: perl(aliased)
|
|
|
@ -30,6 +30,7 @@ BuildRequires: perl(attributes)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Dir::Self)
|
|
|
|
BuildRequires: perl(Dir::Self)
|
|
|
|
BuildRequires: perl(feature)
|
|
|
|
BuildRequires: perl(feature)
|
|
|
|
|
|
|
|
BuildRequires: perl(Hash::Util) >= 0.07
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Moose::Util)
|
|
|
|
BuildRequires: perl(Moose::Util)
|
|
|
@ -42,8 +43,6 @@ BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
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)
|
|
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -52,7 +51,7 @@ parameter lists. It uses Perl's keyword plugin API, so it works reliably
|
|
|
|
and doesn't require a source filter.
|
|
|
|
and doesn't require a source filter.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Function-Parameters-%{version}
|
|
|
|
%setup -q -n Function-Parameters-%{cpan_version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
@ -73,6 +72,9 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Mar 28 2017 Petr Pisar <ppisar@redhat.com> - 2.0.2-1
|
|
|
|
|
|
|
|
- 2.000002 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 17 2017 Petr Pisar <ppisar@redhat.com> - 1.0706-1
|
|
|
|
* Fri Mar 17 2017 Petr Pisar <ppisar@redhat.com> - 1.0706-1
|
|
|
|
- 1.0706 bump
|
|
|
|
- 1.0706 bump
|
|
|
|
|
|
|
|
|
|
|
|