diff --git a/libxcrypt.spec b/libxcrypt.spec index ac8a905..f516aa3 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -191,11 +191,14 @@ Patch0001: %{url}/commit/59823543d095.patch#/%{name}-4.4.33-SHA512_Maj_opti BuildRequires: coreutils BuildRequires: fipscheck BuildRequires: gcc +%if %{without bootstrap} +BuildRequires: gnupg2 +%endif %if 0%{?trans_pkg} BuildRequires: glibc-devel >= %{glibc_minver} %endif BuildRequires: make -BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= %{perl_minver} BuildRequires: perl(Class::Struct) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) @@ -209,13 +212,8 @@ BuildRequires: perl(open) BuildRequires: perl(POSIX) BuildRequires: perl(Symbol) BuildRequires: perl(utf8) -BuildRequires: perl(:VERSION) >= %{perl_minver} BuildRequires: perl(warnings) - -%if %{without bootstrap} -# Possibly not available during bootstrap. -BuildRequires: gnupg2 -%endif +BuildRequires: perl-interpreter # We do not need to keep this forever. %if 0%{?trans_pkg}