From: hk57.kim Date: Tue, 27 Dec 2016 04:12:44 +0000 (+0900) Subject: [4.0] Remove profile build dependencies X-Git-Tag: submit/tizen/20161228.075713^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69ad687b8a3cc219a09d7d726255720b123f88a9;p=platform%2Fcore%2Fuifw%2Flibscl-core.git [4.0] Remove profile build dependencies - This is for Tizen 4.0. - Added ldconfig and manifest for install/uninstall subpackage. Change-Id: I55acd4388371a32ad02678ae729c6f063daaed6e Signed-off-by: hk57.kim --- diff --git a/packaging/libscl-core.spec b/packaging/libscl-core.spec index 83f8f3f..7df284b 100644 --- a/packaging/libscl-core.spec +++ b/packaging/libscl-core.spec @@ -133,8 +133,11 @@ popd pushd %{_libdir} for FILE in %{name}.so.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done popd +/sbin/ldconfig + %preun profile_wearable rm %{_libdir}/%{name}.so +/sbin/ldconfig %endif %files @@ -147,6 +150,7 @@ rm %{_libdir}/%{name}.so %if "%{?profile}" != "wearable" %files profile_common +%manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/%{name}.so %endif @@ -156,6 +160,7 @@ rm %{_libdir}/%{name}.so %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %files profile_wearable +%manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/%{name}.so.wearable %endif