From dd2108118958236df13e5deb9da8ff5a1f15dc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 19 Dec 2022 21:08:11 +0100 Subject: [PATCH] Sorted BuildRequires --- libxcrypt.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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}