From 597aeaab954f0e53cfcfb9670dfd55fb8923f3a1 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 20 Apr 2016 08:50:08 +0900 Subject: [PATCH] Add ldconfig in %post and %postun Share library package should call ldconfig in %post and %postun. https://wiki.tizen.org/wiki/Packaging/Guidelines Change-Id: I5a81a4a66219ef73bfc10948b39371bb049f723a --- packaging/libscl-ui.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/libscl-ui.spec b/packaging/libscl-ui.spec index bcd05b4..b602dc1 100644 --- a/packaging/libscl-ui.spec +++ b/packaging/libscl-ui.spec @@ -65,7 +65,7 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwi %else cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} %endif -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install rm -rf %{buildroot} @@ -74,9 +74,9 @@ rm -rf %{buildroot} -%post +%post -p /sbin/ldconfig -%postun +%postun -p /sbin/ldconfig %files %manifest %{name}.manifest -- 2.7.4