Explicitly list all needed build-time Perl modules

This commit is contained in:
Björn Esser 2022-11-15 21:42:26 +01:00
parent da216b69d1
commit 9d106ed8bf
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -158,7 +158,7 @@ fi \
Name: libxcrypt
Version: 4.4.31
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
# For explicit license breakdown, see the
@ -178,12 +178,22 @@ Source3: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.s
BuildRequires: fipscheck
BuildRequires: gcc
BuildRequires: glibc-devel >= %{glibc_minver}
BuildRequires: glibc-devel >= %{glibc_minver}
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl(Class::Struct)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(if)
BuildRequires: perl(lib)
BuildRequires: perl(open)
BuildRequires: perl(POSIX)
BuildRequires: perl(utf8)
BuildRequires: perl(:VERSION) >= 5.14.0
BuildRequires: perl(warnings)
%if %{without bootstrap}
# Possibly not available during bootstrap.
@ -557,6 +567,9 @@ done
%changelog
* Tue Nov 15 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.31-3
- Explicitly list all needed build-time Perl modules
* Tue Nov 15 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.31-2
- Narrow down BuildRequires for the minimum needed Perl modules