rpm: fix 'else if' syntax

%elif doesn't work on fc23
This commit is contained in:
Marek Marczykowski-Górecki 2018-12-27 02:24:15 +01:00
parent 9364d55427
commit f1c70a59b1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -58,11 +58,13 @@ BuildRequires: flex
# gcc with support for BTI mitigation
%if 0%{?fedora} == 23
BuildRequires: gcc >= 5.3.1-6.qubes1
%elif 0%{?fedora} == 25
%else
%if 0%{?fedora} == 25
BuildRequires: gcc >= 6.4.1-1.qubes1
%else
BuildRequires: gcc
%endif
%endif
# Needed for building GCC hardened plugins
BuildRequires: gcc-c++