%__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