Requires: redhat-rpm-config for tests

This commit is contained in:
Jitka Plesnikova 2023-06-22 16:19:52 +02:00
parent be843d1018
commit c2e0ff694d

View File

@ -7,7 +7,7 @@
Name: perl-Devel-CheckLib
Version: 1.16
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Check that a library is available
License: GPL-1.0-or-later OR Artistic-1.0-Perl
@ -53,6 +53,8 @@ Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: gcc
# perl inherits the compiler flags it was built with, hence we need this on hardened systems
Requires: redhat-rpm-config
# Optional tests
%if %{with perl_Devel_CheckLib_enables_optional_test}
Requires: perl(Mock::Config)
@ -112,6 +114,9 @@ make test
%{_libexecdir}/%{name}
%changelog
* Thu Jun 22 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-8
- Requires: redhat-rpm-config for tests
* Wed Jun 21 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-7
- Package tests