diff --git a/.gitignore b/.gitignore index c1a2488..a5eccd6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /Function-Parameters-1.0704.tar.gz /Function-Parameters-1.0705.tar.gz /Function-Parameters-1.0706.tar.gz +/Function-Parameters-2.000002.tar.gz diff --git a/perl-Function-Parameters.spec b/perl-Function-Parameters.spec index 099f6df..8b99c23 100644 --- a/perl-Function-Parameters.spec +++ b/perl-Function-Parameters.spec @@ -1,10 +1,11 @@ Name: perl-Function-Parameters -Version: 1.0706 +%global cpan_version 2.000002 +Version: 2.0.2 Release: 1%{?dist} Summary: Subroutine definitions with parameter lists License: GPL+ or Artistic 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: gcc BuildRequires: make @@ -19,10 +20,9 @@ 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(Scalar::Util) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(aliased) @@ -30,6 +30,7 @@ BuildRequires: perl(attributes) BuildRequires: perl(constant) BuildRequires: perl(Dir::Self) BuildRequires: perl(feature) +BuildRequires: perl(Hash::Util) >= 0.07 BuildRequires: perl(integer) BuildRequires: perl(lib) BuildRequires: perl(Moose::Util) @@ -42,8 +43,6 @@ 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 @@ -52,7 +51,7 @@ 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} +%setup -q -n Function-Parameters-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" @@ -73,6 +72,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Mar 28 2017 Petr Pisar - 2.0.2-1 +- 2.000002 bump + * Fri Mar 17 2017 Petr Pisar - 1.0706-1 - 1.0706 bump diff --git a/sources b/sources index aa66e5d..881e510 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Function-Parameters-1.0706.tar.gz) = 76130de0a41f94e62e657dae33c5fce5517e8c617e60107093abb5214c3f16f43e996035e5ffc324acd8bc895ee2722c2bb8919aa69d6eb97720521bc6f54a87 +SHA512 (Function-Parameters-2.000002.tar.gz) = 534edd57471cb59404bdfeef2aecb2473be3fe546263bcd28b3a8082d3cdb3d3b02e102c6ed66ae095ab944faa966abadc9522f1f563f46317e3f42d0d041140