|
|
@ -1,7 +1,10 @@
|
|
|
|
|
|
|
|
# Run optional test
|
|
|
|
|
|
|
|
%bcond_without perl_Function_Parameters_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Function-Parameters
|
|
|
|
Name: perl-Function-Parameters
|
|
|
|
%global cpan_version 2.000007
|
|
|
|
%global cpan_version 2.001001
|
|
|
|
Version: 2.0.7
|
|
|
|
Version: 2.1.1
|
|
|
|
Release: 2%{?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/
|
|
|
@ -42,6 +45,10 @@ BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
%if %{with perl_Function_Parameters_enables_optional_test}
|
|
|
|
|
|
|
|
# Optional tests:
|
|
|
|
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
|
|
|
|
|
|
|
|
|
@ -72,6 +79,9 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jul 03 2017 Petr Pisar <ppisar@redhat.com> - 2.1.1-1
|
|
|
|
|
|
|
|
- 2.001001 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.7-2
|
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.7-2
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
|
|
|
|