From 5bf3df6d67901dbac4607760d39a0f1bc6ecf4a0 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 16 Jul 2018 15:08:40 +0200 Subject: [PATCH] Added BR gcc, gcc-c++ Small SPEC file cleanups Signed-off-by: Adrian Reber --- source-highlight.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source-highlight.spec b/source-highlight.spec index 6314ae1..89f3928 100644 --- a/source-highlight.spec +++ b/source-highlight.spec @@ -1,7 +1,7 @@ Summary: Produces a document with syntax highlighting Name: source-highlight Version: 3.1.8 -Release: 17%{?dist} +Release: 18%{?dist} Group: Development/Tools License: GPLv3+ Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz @@ -9,15 +9,16 @@ 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: gcc, gcc-c++ Requires(post): info Requires(preun): info Requires: ctags %description This program, given a source file, produces a document with syntax -highlighting. At the moment this package can handle : -Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby, -Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color +highlighting. At the moment this package can handle: +Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby, +Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color escape sequences as output format. @@ -39,7 +40,6 @@ Development files for source-highlight make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs @@ -60,7 +60,6 @@ mv $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/source-highlight \ rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d %post -/sbin/ldconfig /sbin/install-info %{_infodir}/source-highlight.info \ %{_infodir}/dir 2>/dev/null || : @@ -70,8 +69,6 @@ if [ $1 -eq 0 ]; then %{_infodir}/dir 2>/dev/null || : fi -%postun -p /sbin/ldconfig - %files %doc docs/source-highlight/* %{_bindir}/cpp2html @@ -95,6 +92,10 @@ fi %{_includedir}/srchilite/*.h %changelog +* Mon Jul 16 2018 Adrian Reber - 3.1.8-18 +- Added BR gcc, gcc-c++ +- Small SPEC file cleanups + * Sat Jul 14 2018 Fedora Release Engineering - 3.1.8-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild