summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.spec')
-rw-r--r--cgit.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgit.spec b/cgit.spec
index bd66514..c957543 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -22,8 +22,8 @@
%global use_perl_interpreter 0
%endif
-# The highlight package is not available in epel-7-ppc64
-%if 0%{?rhel} == 7 && %{_arch} == ppc64
+# The highlight package is only available in EL7+ on ppc64le and x86_64
+%if 0%{?rhel} >= 7 && ! ( %{_arch} == ppc64le || %{_arch} == x86_64 )
%bcond_with highlight
%else
%bcond_without highlight
@@ -222,6 +222,7 @@ make test
%changelog
* Tue Jan 14 2020 Todd Zullinger <tmz@pobox.com> - 1.2.2-1
- update to 1.2.2
+- adjust highlight requirement conditional for EL-7+
* Fri Aug 02 2019 Todd Zullinger <tmz@pobox.com> - 1.2.1-5
- add missing zlib-devel BuildRequires, fixes FTBFS (#1737005)