|
|
|
@ -1,6 +1,13 @@
|
|
|
|
|
# Run optional test
|
|
|
|
|
%if ! (0%{?rhel})
|
|
|
|
|
%bcond_without perl_Devel_CheckLib_enables_optional_test
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with perl_Devel_CheckLib_enables_optional_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-Devel-CheckLib
|
|
|
|
|
Version: 1.14
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Check that a library is available
|
|
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -26,7 +33,9 @@ BuildRequires: perl(Capture::Tiny)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
# Optional tests
|
|
|
|
|
%if %{with perl_Devel_CheckLib_enables_optional_test}
|
|
|
|
|
BuildRequires: perl(Mock::Config)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -57,6 +66,9 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 10 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-5
|
|
|
|
|
- Disable optional test on RHEL
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|