[pygobject2] Add ldconfig post(un)install scriptlets.

Ville Skyttä scop at fedoraproject.org
Fri Jul 27 19:11:03 UTC 2012


commit 384df46c6b0fd980b3b12217206837859e609010
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 27 22:10:54 2012 +0300

    Add ldconfig post(un)install scriptlets.

 pygobject2.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/pygobject2.spec b/pygobject2.spec
index 0ffc5d2..1d7b7c1 100644
--- a/pygobject2.spec
+++ b/pygobject2.spec
@@ -6,7 +6,7 @@
 
 Name: pygobject2
 Version: 2.28.6
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: LGPLv2+
 Group: Development/Languages
 Summary: Python 2 bindings for GObject 
@@ -83,6 +83,9 @@ find $RPM_BUILD_ROOT -name '*.a' -delete
 
 rm examples/Makefile*
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644, root, root, 755)
 %doc AUTHORS NEWS README
@@ -120,6 +123,9 @@ rm examples/Makefile*
 %{_datadir}/pygobject/xsl
 
 %changelog
+* Fri Jul 27 2012 Ville Skyttä <ville.skytta at iki.fi> - 2.28.6-7
+- Add ldconfig post(un)install scriptlets.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.28.6-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list