|
|
|
@ -1,18 +1,25 @@
|
|
|
|
|
# Run extra test
|
|
|
|
|
%if ! (0%{?rhel})
|
|
|
|
|
%bcond_without perl_Devel_Declare_enables_extra_test
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with perl_Devel_Declare_enables_extra_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-Devel-Declare
|
|
|
|
|
Version: 0.006019
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Summary: Adding keywords to perl, in perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Devel-Declare
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-Declare-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-Declare-%{version}.tar.gz
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::Depends)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module Runtime
|
|
|
|
@ -35,7 +42,7 @@ BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
|
# Optional Tests
|
|
|
|
|
BuildRequires: perl(B::Compiling)
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
%if !%{defined perl_bootstrap} && %{with perl_Devel_Declare_enables_extra_test}
|
|
|
|
|
# Break build-cycle: perl-Devel-Declare → perl-Devel-CallParser
|
|
|
|
|
# → perl-Devel-Declare
|
|
|
|
|
BuildRequires: perl(Devel::CallParser)
|
|
|
|
@ -46,6 +53,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
# necessary minimum versions not automatically detected
|
|
|
|
|
Requires: perl(B::Hooks::EndOfScope) >= 0.05
|
|
|
|
|
|
|
|
|
|
# Avoid provides from perl shared objects
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -56,7 +64,6 @@ This module is now deprecated: keyword handling has been included in the perl
|
|
|
|
|
core since perl 5.14, and better alternatives for Devel::Declare functionality
|
|
|
|
|
include Devel::CallParser, Function::Parameters, and Keyword::Simple.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Devel-Declare-%{version}
|
|
|
|
|
|
|
|
|
@ -80,6 +87,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/Devel::Declare.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 6 2019 Paul Howarth <paul@city-fan.org> - 0.006019-14
|
|
|
|
|
- Avoid need for bootstrapping in EPEL
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.006019-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|