Change-Id: I655ec95b44365ce3f37fd7ee0a7756d773daa4f2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
#install -D -m 0644 %{buildroot}/usr/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/
#install -D -m 0644 %{buildroot}/usr/bin/bluetooth-ipsp-agent %{buildroot}%{_bindir}/
#%endif
#install -D -m 0644 %{buildroot}/usr/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/
#install -D -m 0644 %{buildroot}/usr/bin/bluetooth-ipsp-agent %{buildroot}%{_bindir}/
#%endif
-install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-map-agent.service
-install -D -m 0644 packaging/bluetooth-pbap-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-pbap-agent.service
-install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-ag-agent.service
-install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hf-agent.service
-install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hid-agent.service
+install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_unitdir}/bluetooth-map-agent.service
+install -D -m 0644 packaging/bluetooth-pbap-agent.service %{buildroot}%{_unitdir}/bluetooth-pbap-agent.service
+install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/bluetooth-ag-agent.service
+install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_unitdir}/bluetooth-hf-agent.service
+install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_unitdir}/bluetooth-hid-agent.service
%files
%manifest %{name}.manifest
%files
%manifest %{name}.manifest
%attr(0666,-,-) /var/lib/bluetooth/voice-recognition-blacklist
%{_datadir}/dbus-1/system-services/org.bluez.ag_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
%attr(0666,-,-) /var/lib/bluetooth/voice-recognition-blacklist
%{_datadir}/dbus-1/system-services/org.bluez.ag_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
-%{_libdir}/systemd/system/bluetooth-ag-agent.service
-#%exclude %{_libdir}/systemd/system/bluetooth-map-agent.service
-#%exclude %{_libdir}/systemd/system/bluetooth-pbap-agent.service
+%{_unitdir}/bluetooth-ag-agent.service
+#%exclude %{_unitdir}/bluetooth-map-agent.service
+#%exclude %{_unitdir}/bluetooth-pbap-agent.service
%files hfp_hf
%manifest %{name}.manifest
%files hfp_hf
%manifest %{name}.manifest
%{_bindir}/bluetooth-hf-agent
%{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-hf-agent.conf
%{_bindir}/bluetooth-hf-agent
%{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-hf-agent.conf
-%{_libdir}/systemd/system/bluetooth-hf-agent.service
-#%exclude %{_libdir}/systemd/system/bluetooth-map-agent.service
-#%exclude %{_libdir}/systemd/system/bluetooth-pbap-agent.service
+%{_unitdir}/bluetooth-hf-agent.service
+#%exclude %{_unitdir}/bluetooth-map-agent.service
+#%exclude %{_unitdir}/bluetooth-pbap-agent.service
%files map
%manifest %{name}.manifest
%license LICENSE
%{_bindir}/bluetooth-map-agent
%{_datadir}/dbus-1/system-services/org.bluez.map_agent.service
%files map
%manifest %{name}.manifest
%license LICENSE
%{_bindir}/bluetooth-map-agent
%{_datadir}/dbus-1/system-services/org.bluez.map_agent.service
-%{_libdir}/systemd/system/bluetooth-map-agent.service
+%{_unitdir}/bluetooth-map-agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth_map_agent.conf
%files pbap
%{_sysconfdir}/dbus-1/system.d/bluetooth_map_agent.conf
%files pbap
%license LICENSE
%{_bindir}/bluetooth-pb-agent
%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service
%license LICENSE
%{_bindir}/bluetooth-pb-agent
%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service
-%{_libdir}/systemd/system/bluetooth-pbap-agent.service
+%{_unitdir}/bluetooth-pbap-agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth_pb_agent.conf
%files hid
%{_sysconfdir}/dbus-1/system.d/bluetooth_pb_agent.conf
%files hid
%license LICENSE
%{_bindir}/bluetooth-hid-agent
%{_datadir}/dbus-1/system-services/org.bluez.hid_agent.service
%license LICENSE
%{_bindir}/bluetooth-hid-agent
%{_datadir}/dbus-1/system-services/org.bluez.hid_agent.service
-%{_libdir}/systemd/system/bluetooth-hid-agent.service
+%{_unitdir}/bluetooth-hid-agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-hid-agent.conf
%files ipsp
%{_sysconfdir}/dbus-1/system.d/bluetooth-hid-agent.conf
%files ipsp