From 332c141e5e3c95ec8e4bc69491e366df39d1c7ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 21 Nov 2022 09:17:16 +0100 Subject: [PATCH] Use BR: coreutils instead of %{_bindir}/sha256sum --- libxcrypt.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libxcrypt.spec b/libxcrypt.spec index 616b7f3..16f4228 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -180,6 +180,7 @@ Source3: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.s # Patch 6000 - 9999: Downstream patches. +BuildRequires: coreutils BuildRequires: fipscheck BuildRequires: gcc BuildRequires: glibc-devel >= %{glibc_minver} @@ -204,7 +205,6 @@ BuildRequires: perl(warnings) %if %{without bootstrap} # Possibly not available during bootstrap. BuildRequires: gnupg2 -BuildRequires: %{_bindir}/sha256sum %endif # We do not need to keep this forever. @@ -324,10 +324,10 @@ discouraged. %if %{without bootstrap} # Omitted during bootstrap. %{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0} +%endif pushd %{_sourcedir} sha256sum -c %{SOURCE3} popd -%endif %autosetup -p 1 @@ -577,6 +577,7 @@ done %changelog * Mon Nov 21 2022 Björn Esser - 4.4.33-2 - Do not BR the compat package during bootstrap +- Use BR: coreutils instead of %%{_bindir}/sha256sum * Fri Nov 18 2022 Björn Esser - 4.4.33-1 - New upstream release