Added BR gcc, gcc-c++

Small SPEC file cleanups

Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
Adrian Reber 2018-07-16 15:08:40 +02:00
parent da33a6fd2e
commit 5bf3df6d67
Failed to extract signature

View File

@ -1,7 +1,7 @@
Summary: Produces a document with syntax highlighting Summary: Produces a document with syntax highlighting
Name: source-highlight Name: source-highlight
Version: 3.1.8 Version: 3.1.8
Release: 17%{?dist} Release: 18%{?dist}
Group: Development/Tools Group: Development/Tools
License: GPLv3+ License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
@ -9,6 +9,7 @@ Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
URL: http://www.gnu.org/software/src-highlite/ URL: http://www.gnu.org/software/src-highlite/
BuildRequires: bison, flex, boost-devel BuildRequires: bison, flex, boost-devel
BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion) BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion)
BuildRequires: gcc, gcc-c++
Requires(post): info Requires(post): info
Requires(preun): info Requires(preun): info
Requires: ctags Requires: ctags
@ -39,7 +40,6 @@ Development files for source-highlight
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs 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 rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
%post %post
/sbin/ldconfig
/sbin/install-info %{_infodir}/source-highlight.info \ /sbin/install-info %{_infodir}/source-highlight.info \
%{_infodir}/dir 2>/dev/null || : %{_infodir}/dir 2>/dev/null || :
@ -70,8 +69,6 @@ if [ $1 -eq 0 ]; then
%{_infodir}/dir 2>/dev/null || : %{_infodir}/dir 2>/dev/null || :
fi fi
%postun -p /sbin/ldconfig
%files %files
%doc docs/source-highlight/* %doc docs/source-highlight/*
%{_bindir}/cpp2html %{_bindir}/cpp2html
@ -95,6 +92,10 @@ fi
%{_includedir}/srchilite/*.h %{_includedir}/srchilite/*.h
%changelog %changelog
* Mon Jul 16 2018 Adrian Reber <adrian@lisas.de> - 3.1.8-18
- Added BR gcc, gcc-c++
- Small SPEC file cleanups
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.8-17 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.8-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild