diff --git a/source-highlight.spec b/source-highlight.spec index 9d9893c..d8d380d 100644 --- a/source-highlight.spec +++ b/source-highlight.spec @@ -1,15 +1,19 @@ Summary: Produces a document with syntax highlighting Name: source-highlight Version: 3.1.9 -Release: 5%{?dist} +Release: 7%{?dist} License: GPLv3+ Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig URL: http://www.gnu.org/software/src-highlite/ +BuildRequires: make BuildRequires: bison, flex, boost-devel -BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion) +BuildRequires: help2man, chrpath, pkgconfig(bash-completion) BuildRequires: gcc, gcc-c++ +%if 0%{!?rhel:1} || 0%{?rhel} < 9 +BuildRequires: ctags Requires: ctags +%endif %description This program, given a source file, produces a document with syntax @@ -33,6 +37,9 @@ Development files for source-highlight %build export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" +%if 0%{?rhel} > 8 +export CTAGS=do_not_use_ctags +%endif %configure --disable-static \ --with-boost-regex=boost_regex %make_build @@ -80,6 +87,12 @@ rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d %{_includedir}/srchilite/*.h %changelog +* Fri Jan 22 2021 Jonathan Wakely - 3.1.9-7 +- Rebuilt for Boost 1.75 + +* Wed Jan 6 2021 Keith Seitz - 3.1.9-6 +- Disable ctags support for RHEL9+. + * Wed Jul 29 2020 Fedora Release Engineering - 3.1.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild