[fix] Rename dbus auto-activation service file 71/231371/2 accepted/tizen/unified/20200424.141522 submit/tizen/20200424.052029
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 21 Apr 2020 12:20:31 +0000 (21:20 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 21 Apr 2020 12:39:35 +0000 (21:39 +0900)
Naming rule for dbus auto-activation service file : well-known name + ".service"
https://bugs.freedesktop.org/show_bug.cgi?id=99874

Change-Id: I21192c2145daa2f184dbbe98dab1e5db14ae091d

packaging/fido-asm.spec
packaging/org.tizen.fidoasm.service [moved from packaging/org.tizen.fido-asm.service with 100% similarity]
packaging/org.tizen.fidobtroamingagent.service [moved from packaging/org.tizen.fido-bt-roaming.service with 100% similarity]

index 8451857..483a551 100755 (executable)
@@ -6,10 +6,10 @@ Release:    1
 Group:      Social & Content/Other
 License:    Apache-2.0
 Source0:    fido-asm-%{version}.tar.gz
-Source1:    org.tizen.fido-asm.service
+Source1:    org.tizen.fidoasm.service
 Source2:    org.tizen.fido-asm.conf
 Source3:    fido-asm.service
-Source4:    org.tizen.fido-bt-roaming.service
+Source4:    org.tizen.fidobtroamingagent.service
 Source6:    fido-bt-roaming-agent.service
 Source7:    org.tizen.fido-bt-roaming-agent.conf
 
@@ -80,10 +80,10 @@ rm -rf %{buildroot}
 %make_install
 
 mkdir -p %{buildroot}/usr/share/dbus-1/system-services
-install -m 0644 %SOURCE1 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.fido-asm.service
+install -m 0644 %SOURCE1 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.fidoasm.service
 
 #mkdir -p %{buildroot}/usr/share/dbus-1/system-services
-install -m 0644 %SOURCE4 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.fido-bt-roaming.service
+install -m 0644 %SOURCE4 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.fidobtroamingagent.service
 
 mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
 install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dbus-1/system.d/
@@ -172,7 +172,7 @@ rm /opt/dbspace/.fido*
 %{_bindir}/fido-asm
 %config %{_sysconfdir}/dbus-1/system.d/org.tizen.fido-asm.conf
 %attr(0644,root,root) %{_unitdir}/fido-asm.service
-%attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fido-asm.service
+%attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fidoasm.service
 %{_libdir}/fido/asm/fido_asm.json
 
 %files devel
@@ -286,4 +286,4 @@ FIDO BT Roaming Agent
 %{_bindir}/fido-bt-ragent-service
 %config %{_sysconfdir}/dbus-1/system.d/org.tizen.fido-bt-roaming-agent.conf
 %{_unitdir}/fido-bt-roaming-agent.service
-%attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fido-bt-roaming.service
+%attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fidobtroamingagent.service