diff options
author | Todd Zullinger <tmz@pobox.com> | 2020-01-13 20:49:51 -0500 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2020-01-13 20:51:24 -0500 |
commit | c0e0ad6adc4bcdbb3de299c855157d6528dc8b9b (patch) | |
tree | dc2ad40c85a8fd9cbe15392bfcb0306dd3b8a7aa | |
parent | ddae20a9d9a158ce12c0a1a465c0648fef0de26a (diff) | |
download | cgit_EL6-c0e0ad6adc4bcdbb3de299c855157d6528dc8b9b.tar.gz |
adjust highlight requirement conditional for EL7+
The highlight package is only available in EL7+ on ppc64le and x86_64.
Exclude all other architectures for EL7 and EL8.
-rw-r--r-- | cgit.spec | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |