Fix string quoting for rpm >= 4.16

This commit is contained in:
Björn Esser 2020-04-02 12:53:40 +02:00
parent b0fbda3bc7
commit 64b70dd0af
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -204,12 +204,12 @@ BuildRequires: gnupg
BuildRequires: gnupg2-smime
%endif
# endif fedora or el > 8
%if 0%{?fedora} || 0%{?rhel} == 6 || ( 0%{?rhel} >= 7 && ( %{_arch} == ppc64le || %{_arch} == x86_64 ) )
%if 0%{?fedora} || 0%{?rhel} == 6 || ( 0%{?rhel} >= 7 && ( "%{_arch}" == "ppc64le" || "%{_arch}" == "x86_64" ) )
BuildRequires: highlight
%endif
# endif fedora, el-6, or el7+ (ppc64le/x86_64)
BuildRequires: httpd
%if 0%{?fedora} && ! ( %{_arch} == i386 || %{_arch} == s390x )
%if 0%{?fedora} && ! ( "%{_arch}" == "i386" || "%{_arch}" == "s390x" )
BuildRequires: jgit
%endif
# endif fedora (except i386 and s390x)