+++ /dev/null
-[Unit]
-Description=Service to launch AG agent.
-After=dbus.socket dbus.service
-Requires=dbus.socket
-
-[Service]
-Type=dbus
-BusName=org.bluez.ag_agent
-ExecStart=/usr/bin/bluetooth-ag-agent
-ExecStop=/usr/bin/killall bluetooth-ag-agent
-KillMode=process
-
-[Install]
-WantedBy=multi-user.target
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
-%endif
+#%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
+#%endif
%files
%manifest %{name}.manifest
%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service
%{_datadir}/dbus-1/system-services/org.bluez.map_agent.service
%{_datadir}/dbus-1/system-services/org.bluez.ag_agent.service
-%{_usrlibdir}/systemd/system/bluetooth-ag-agent.service
-%{_usrlibdir}/systemd/system/multi-user.target.wants/bluetooth-ag-agent.service
+#%{_usrlibdir}/systemd/system/bluetooth-ag-agent.service
+#%{_usrlibdir}/systemd/system/multi-user.target.wants/bluetooth-ag-agent.service
%attr(0666,-,-) /opt/var/lib/bluetooth/voice-recognition-blacklist
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
%endif