mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dbus-1/system.d/
+mkdir -p %{buildroot}%{_unitdir}
+install -m 644 %SOURCE3 %{buildroot}%{_unitdir}/fido.service
+
mkdir -p %{buildroot}/usr/share/dbus-1/system-services
install -m 0644 %SOURCE4 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.dummyasm.service
%if "%{?tizen_version}" == "3.0"
%attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fido.service
+%attr(0644,root,root) %{_unitdir}/fido.service
%else
%{_libdir}/systemd/system/org.tizen.fido.service
[Unit]
Description=FIDO Client service
-After=tizen-runtime.target
-Requires=tizen-runtime.target
[Service]
+User=service_fw
+Gruop=service_fw
+SmackProcessLabel=System
Type=dbus
BusName=org.tizen.fido
ExecStart=/usr/bin/fido-service