Disable ctags support for RHEL9+
This commit is contained in:
parent
43a1e8ca48
commit
21dbadd997
@ -1,15 +1,18 @@
|
||||
Summary: Produces a document with syntax highlighting
|
||||
Name: source-highlight
|
||||
Version: 3.1.9
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?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: 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 +36,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 +86,9 @@ rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
|
||||
%{_includedir}/srchilite/*.h
|
||||
|
||||
%changelog
|
||||
* Wed Jan 6 2021 Keith Seitz <keiths@redhat.com> - 3.1.9-6
|
||||
- Disable ctags support for RHEL9+.
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user