diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 19:00:44 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 19:00:44 -0800 |
commit | e2d13a6dedf6aa2440b233adff16fb08bb59e0c2 (patch) | |
tree | 463cbee40be5dc0da7d58da281d1381c50a6de42 | |
parent | 6add1430a9d5fe93bf87b10dda16f230171cc405 (diff) | |
download | rpm-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.tar.gz rpm-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.tar.bz2 rpm-e2d13a6dedf6aa2440b233adff16fb08bb59e0c2.zip |
call ldconfig
-rw-r--r-- | packaging/rpm.spec | 3 |
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) |