Fix conditional for compat_pkg

This commit is contained in:
Björn Esser 2019-03-04 10:51:31 +01:00
parent 4c81cc824b
commit 7dd854a69a
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -7,7 +7,7 @@
# Build the compat package?
%if !(0%{?fedora} >= 999 || 0%{?rhel} >= 99 || %{without new_api})
%if !(0%{?fedora} >= 999 || 0%{?rhel} >= 99) && %{with new_api}
%bcond_without compat_pkg
%else
%bcond_with compat_pkg