include_directories: nns_ml_agent_incs,
install: true,
install_dir: api_install_bindir,
- cpp_args : '-DDB_PATH="' + serviceDBPath + '"'
-
+ cpp_args : '-DDB_PATH="' + serviceDBPath + '"',
+ pie : true
)
# For unit test
%if 0%{?enable_machine_learning_agent}
%files -n machine-learning-agent
%manifest machine-learning-agent.manifest
-%{_bindir}/machine-learning-agent
-%{_unitdir}/machine-learning-agent.service
-%config %{_sysconfdir}/dbus-1/system.d/machine-learning-agent.conf
+%attr(0755,root,root) %{_bindir}/machine-learning-agent
+%attr(0644,root,root) %{_unitdir}/machine-learning-agent.service
+%attr(0644,root,root) %config %{_sysconfdir}/dbus-1/system.d/machine-learning-agent.conf
%attr(0644,root,root) %{_datadir}/dbus-1/system-services/org.tizen.machinelearning.service.service
%endif