remove the profile condition at spec file 91/96591/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 9 Nov 2016 11:03:42 +0000 (20:03 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 9 Nov 2016 11:03:42 +0000 (20:03 +0900)
make the symbolic link of tdm-socket-user.path to
basic.target.want

Change-Id: I47da65873b0cf94001300f06c78b72d28aecd335

packaging/libtdm.spec

index babfb34c64f8e0406cf00fe0045d60c451660f56..74240d080a4c07efef89ecaf790a5b062450038e 100644 (file)
@@ -97,23 +97,14 @@ install -m 644 service/tdm-socket-user.path %{buildroot}%{_unitdir_user}
 %__mkdir_p %{_unitdir}/graphical.target.wants
 ln -sf ../tdm-socket.path %{_unitdir}/graphical.target.wants/
 
-%if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
 %__mkdir_p %{_unitdir_user}/basic.target.wants
 ln -sf ../tdm-socket-user.path %{_unitdir_user}/basic.target.wants/
-%else
-%__mkdir_p %{_unitdir_user}/default.target.wants
-ln -sf ../tdm-socket-user.path %{_unitdir_user}/default.target.wants/
-%endif
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 rm -f %{_unitdir}/graphical.target.wants/tdm-socket.path
 
-%if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
 rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path
-%else
-rm -f %{_unitdir_user}/default.target.wants/tdm-socket-user.path
-%endif
 
 %files
 %manifest %{name}.manifest