summaryrefslogtreecommitdiff
path: root/packaging/rpm.spec
diff options
context:
space:
mode:
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)