Fix the build fail for other devices 47/51447/1 accepted/tizen/mobile/20151110.071317 accepted/tizen/tv/20151110.071352 accepted/tizen/wearable/20151110.071441 submit/tizen_mobile/20151110.010403 submit/tizen_tv/20151110.010407 submit/tizen_wearable/20151110.010410
authorTaejin Woo <tt.woo@samsung.com>
Tue, 10 Nov 2015 00:54:33 +0000 (09:54 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Tue, 10 Nov 2015 00:54:33 +0000 (09:54 +0900)
Change-Id: Ib425a37de363a430fbb012a15ddf1a40519fc207
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
packaging/bluetooth-agent.spec

index 4d5226d..f4762b3 100644 (file)
@@ -73,11 +73,10 @@ rm -rf %{buildroot}
 
 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