|
|
@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
# Run extra test
|
|
|
|
|
|
|
|
%if ! (0%{?rhel})
|
|
|
|
|
|
|
|
%bcond_without perl_B_Keywords_enables_extra_test
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_with perl_B_Keywords_enables_extra_test
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-B-Keywords
|
|
|
|
Name: perl-B-Keywords
|
|
|
|
Version: 1.18
|
|
|
|
Version: 1.18
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
@ -27,7 +34,7 @@ BuildRequires: perl(Test::More)
|
|
|
|
# Optional Tests
|
|
|
|
# Optional Tests
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.0
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.0
|
|
|
|
# Maintainer Tests
|
|
|
|
# Maintainer Tests
|
|
|
|
%if 0%{!?perl_bootstrap:1}
|
|
|
|
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
@ -64,7 +71,11 @@ find %{buildroot} -type f -name .packlist -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test %{!?perl_bootstrap:IS_MAINTAINER=1 AUTHOR_TESTING=1}
|
|
|
|
%if 0%{!?perl_bootstrap:1} && %{with perl_B_Keywords_enables_extra_test}
|
|
|
|
|
|
|
|
make test IS_MAINTAINER=1 AUTHOR_TESTING=1
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|