Use BR: coreutils instead of %{_bindir}/sha256sum

This commit is contained in:
Björn Esser 2022-11-21 09:17:16 +01:00
parent 0222a578c4
commit 332c141e5e
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -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 <besser82@fedoraproject.org> - 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 <besser82@fedoraproject.org> - 4.4.33-1
- New upstream release