From 94e257592daa8c32c77e9fe66d75c085adabd54a Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Thu, 2 Apr 2020 12:39:35 +0200 Subject: Fix string quoting for rpm >= 4.16 --- cgit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.spec') diff --git a/cgit.spec b/cgit.spec index e72e9cc..b218dca 100644 --- a/cgit.spec +++ b/cgit.spec @@ -23,7 +23,7 @@ %endif # The highlight package is only available in EL7+ on ppc64le and x86_64 -%if 0%{?rhel} >= 7 && ! ( %{_arch} == ppc64le || %{_arch} == x86_64 ) +%if 0%{?rhel} >= 7 && ! ( "%{_arch}" == "ppc64le" || "%{_arch}" == "x86_64" ) %bcond_with highlight %else %bcond_without highlight -- cgit