SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
-SET(APP_SYSCONFDIR /opt/var/lib/bluetooth)
+SET(APP_SYSCONFDIR /var/lib/bluetooth)
ADD_DEFINITIONS("-DAPP_SYSCONFDIR=\"${APP_SYSCONFDIR}\"")
DESTINATION share/dbus-1/system-services)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/voice-recognition-blacklist
- DESTINATION /opt/var/lib/bluetooth/)
+ DESTINATION /var/lib/bluetooth/)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf.in ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf DESTINATION /etc/dbus-1/system.d)
%{_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
-%attr(0666,-,-) /opt/var/lib/bluetooth/voice-recognition-blacklist
+%attr(0666,-,-) /var/lib/bluetooth/voice-recognition-blacklist
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
%endif
%{_datadir}/license/bluetooth-agent