Fix conditional for hmaccalc replacement

This commit is contained in:
Björn Esser 2018-04-27 17:35:27 +02:00
parent 2f15384a80
commit 6c61955479
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -7,10 +7,10 @@
%bcond_with replace_coreutils
%bcond_with replace_fipscheck
# Replace hmaccalc by default in Fedora 28+:
%if 0%{?fedora} <= 27 && 0%{?rhel} <= 7
%bcond_with replace_hmaccalc
%else
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%bcond_without replace_hmaccalc
%else
%bcond_with replace_hmaccalc
%endif
# This package needs at least Linux Kernel v4.10.0.
@ -91,7 +91,7 @@ done \
Name: libkcapi
Version: %{vmajor}.%{vminor}.%{vpatch}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: User space interface to the Linux Kernel Crypto API
License: BSD or GPLv2
@ -420,6 +420,9 @@ popd
%changelog
* Fri Apr 27 2018 Björn Esser <besser82@fedoraproject.org> - 1.1.0-3
- Fix conditional for hmaccalc replacement
* Mon Apr 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-2
- Enable hmaccalc replacements in Fedora 28+