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