[4.0] Remove profile build dependencies 60/107160/1 accepted/tizen/common/20161228.162646 accepted/tizen/ivi/20161229.112828 accepted/tizen/mobile/20161229.112740 accepted/tizen/tv/20161229.112809 accepted/tizen/wearable/20161229.112820 submit/tizen/20161228.075713
authorhk57.kim <hk57.kim@samsung.com>
Tue, 27 Dec 2016 04:12:44 +0000 (13:12 +0900)
committerhk57.kim <hk57.kim@samsung.com>
Tue, 27 Dec 2016 04:12:44 +0000 (13:12 +0900)
 - This is for Tizen 4.0.
 - Added ldconfig and manifest for install/uninstall subpackage.

Change-Id: I55acd4388371a32ad02678ae729c6f063daaed6e
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
packaging/libscl-core.spec

index 83f8f3f123d0b542ad57ba8c23e955c23ac11b10..7df284b2355dd4305a54e28138f7af4191ced1b5 100644 (file)
@@ -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