summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.spec')
-rw-r--r--cgit.spec2
1 files changed, 1 insertions, 1 deletions
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