Change-Id: Ib425a37de363a430fbb012a15ddf1a40519fc207
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-agent
mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+%if "%{?profile}" != "wearable"
install -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/
ln -s ../bluetooth-ag-agent.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-ag-agent.service
-#install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/usr/lib/systemd/system/bluetooth-ag-agent.service
-#mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
-#ln -s ../bluetooth-ag-agent.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-ag-agent.service
+%endif
%files
%manifest %{name}.manifest