From 60f21f7283d34f3fddc9cd3055fd7573fa5d022a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 15 Jul 2012 11:24:52 +0300 Subject: [PATCH] Call ldconfig at -libs post(un)install time. - Escape macros in %changelog. --- yelp.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/yelp.spec b/yelp.spec index ecfa785..a6aa371 100644 --- a/yelp.spec +++ b/yelp.spec @@ -2,7 +2,7 @@ Summary: Help browser for the GNOME desktop Name: yelp Epoch: 1 Version: 3.4.2 -Release: 1%{?dist} +Release: 2%{?dist} #VCS: git:git://git.gnome.org/yelp Source: http://download.gnome.org/sources/yelp/3.4/%{name}-%{version}.tar.xz @@ -97,6 +97,9 @@ fi glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||: gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || : +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig %files -f %{name}.lang %doc ChangeLog AUTHORS COPYING MAINTAINERS NEWS README @@ -117,6 +120,10 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || : %changelog +* Sun Jul 15 2012 Ville Skyttä - 1:3.4.2-2 +- Call ldconfig at -libs post(un)install time. +- Escape macros in %%changelog. + * Fri May 18 2012 Richard Hughes - 1:3.4.2-1 - Update to 3.4.2 @@ -271,7 +278,7 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || : - Update to 2.29.1 * Tue Jan 5 2010 Matthias Clasen - 2.28.1-2 -- Use %global instead of %define where %define doesn't work +- Use %%global instead of %%define where %%define doesn't work * Fri Dec 4 2009 Matthias Clasen - 2.28.1-1 - Update to 2.28.1