From 76bbaa3f24cc89c9ffd26c18fa88eddfeacce5ee Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Sun, 24 Jan 2021 22:47:44 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/source-highlight.git#2777cf6725efd9584fb6bce66e164f79e9934d0f --- source-highlight.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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