From 60abb5d1f9a6514eeb6bc46b42a0b39691d944f8 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 17 Aug 2016 14:01:26 +0200 Subject: [PATCH] Run ldconfig for the new -libs subpackage --- devhelp.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/devhelp.spec b/devhelp.spec index 7e21495..6c96450 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -2,7 +2,7 @@ Name: devhelp Version: 3.20.0 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: GPLv2+ Summary: API documention browser @@ -74,24 +74,26 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/org.gno desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop %post -/sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : %postun -/sbin/ldconfig if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : fi +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : + +%post libs +/sbin/ldconfig + %postun libs +/sbin/ldconfig if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : fi -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : - %posttrans libs glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : @@ -129,6 +131,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %{_libdir}/pkgconfig/* %changelog +* Wed Aug 17 2016 Kalev Lember - 1:3.20.0-3 +- Run ldconfig for the new -libs subpackage + * Sat Apr 02 2016 Mathieu Bridon - 1:3.20.0-2 - Split the libs into their own subpackages, so that installing a dependent application (e.g Builder) does not bring in the Devhelp app.