[libtdb] - Run ldconfig on python-tdb

Stephen Gallagher sgallagh at fedoraproject.org
Tue Jan 11 22:18:33 UTC 2011


commit 1c5cd7df73076c935ac9d4791877a0e940509491
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Tue Jan 11 17:18:24 2011 -0500

    - Run ldconfig on python-tdb

 libtdb.spec |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/libtdb.spec b/libtdb.spec
index 8f8f6ba..75cd7c8 100644
--- a/libtdb.spec
+++ b/libtdb.spec
@@ -6,7 +6,7 @@
 
 Name: libtdb
 Version: 1.2.9
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: System Environment/Daemons
 Summary: The tdb library
 License: LGPLv3+
@@ -97,13 +97,18 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{python_sitearch}/tdb.so
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post -n python-tdb -p /sbin/ldconfig
+
+%postun -n python-tdb -p /sbin/ldconfig
 
 %changelog
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.2.9-5
+- Run ldconfig on python-tdb
+
 * Tue Jan 11 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.2.9-4
 - Do not delete a necessary file during %%install
 


More information about the scm-commits mailing list