From 034a23faa5c7fb663dfa804c5b67ae35d97c7cba Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 25 2018 10:35:12 +0000 Subject: BR: gcc-c++ Signed-off-by: Igor Gnatenko --- diff --git a/aiksaurus.spec b/aiksaurus.spec index b995e84..e4a1ffb 100644 --- a/aiksaurus.spec +++ b/aiksaurus.spec @@ -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