[yelp] Call ldconfig at -libs post(un)install time.

Ville Skyttä scop at fedoraproject.org
Sun Jul 15 08:25:00 UTC 2012


commit 60f21f7283d34f3fddc9cd3055fd7573fa5d022a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Jul 15 11:24:52 2012 +0300

    Call ldconfig at -libs post(un)install time.
    
    - Escape macros in %changelog.

 yelp.spec |   11 +++++++++--
 1 files 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ä <ville.skytta at iki.fi> - 1:3.4.2-2
+- Call ldconfig at -libs post(un)install time.
+- Escape macros in %%changelog.
+
 * Fri May 18 2012 Richard Hughes <hughsient at gmail.com> - 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 <mclasen at redhat.com> - 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 <mclasen at redhat.com> - 2.28.1-1
 - Update to 2.28.1


More information about the scm-commits mailing list