BR: gcc-c++

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-25 12:35:12 +02:00
commit 034a23faa5
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -14,12 +14,10 @@ Patch0: %{name}-1.2.1-gcc43.patch
Patch1: %{name}-security.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: desktop-file-utils
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description
Aiksaurus is an English-language thesaurus library that can be
embedded in word processors, email composers, and other authoring
@ -85,16 +83,8 @@ install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
# Add desktop file.
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post gtk -p /sbin/ldconfig
%postun gtk -p /sbin/ldconfig
%post thesaurus
update-desktop-database &> /dev/null ||:
%postun thesaurus
update-desktop-database &> /dev/null ||:
%ldconfig_scriptlets
%ldconfig_scriptlets gtk
%files
%doc ChangeLog README COPYING AUTHORS