- 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>
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
%if "%{?profile}" != "wearable"
%files profile_common
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/%{name}.so
%endif
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
%files profile_wearable
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/%{name}.so.wearable
%endif