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
This commit is contained in:
parent
c4a3f3af24
commit
76bbaa3f24
@ -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 <jwakely@redhat.com> - 3.1.9-7
|
||||
- Rebuilt for Boost 1.75
|
||||
|
||||
* 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