Avoid use of %elif

Results in "Unknown tag: %elif 0" on i686. Apparently this is not
supported on RHEL 8.

Just drop the branch as it's not relevant anyway.

Resolves: RHEL-9028
This commit is contained in:
Nikita Popov 2023-10-09 09:29:55 +02:00
parent f5e27b1844
commit 3d5c31cc17

View File

@ -27,9 +27,6 @@
%ifarch %ix86
# Disable LTO on x86 in order to reduce memory consumption
%bcond_with lto_build
%elif %{with snapshot_build}
# Disable LTO to speed up builds
%bcond_with lto_build
%else
%bcond_without lto_build
%endif