summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2020-04-02 12:39:35 +0200
committerBjörn Esser <besser82@fedoraproject.org>2020-04-02 12:39:35 +0200
commit94e257592daa8c32c77e9fe66d75c085adabd54a (patch)
tree60722216f990248de6a4034155006986bff0582e /cgit.spec
parentbadc7515ee5d9af77f505a9e4f1400b624f8fd29 (diff)
downloadcgit_EL6-94e257592daa8c32c77e9fe66d75c085adabd54a.tar.gz
Fix string quoting for rpm >= 4.16
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