summaryrefslogtreecommitdiff
path: root/packaging/rpm.spec
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 19:00:44 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 19:00:44 -0800
commite2d13a6dedf6aa2440b233adff16fb08bb59e0c2 (patch)
tree463cbee40be5dc0da7d58da281d1381c50a6de42 /packaging/rpm.spec
parent6add1430a9d5fe93bf87b10dda16f230171cc405 (diff)
downloadlibrpm-tizen-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.tar.gz
librpm-tizen-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.tar.bz2
librpm-tizen-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.zip
call ldconfig
Diffstat (limited to 'packaging/rpm.spec')
-rw-r--r--packaging/rpm.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index 06ba30ddc..29624e2f1 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -212,9 +212,12 @@ echo -n armv7hl-tizen-linux> %{buildroot}/etc/rpm/platform
%endif
%post
+/sbin/ldconfig
test -f var/lib/rpm/Packages || rpm --initdb
rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion
+%postun
+/sbin/ldconfig
%files -f rpm.lang
%defattr(-,root,root)