[fix] Rename dbus auto-activation service file 86/231386/2
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 21 Apr 2020 12:59:18 +0000 (21:59 +0900)
committersanghyeok oh <sanghyeok.oh@samsung.com>
Wed, 27 May 2020 01:21:22 +0000 (01:21 +0000)
Naming rule for dbus auto-activation service file : well-known name + ".service"
https://bugs.freedesktop.org/show_bug.cgi?id=99874

Change-Id: Ibf176a444efae32a1c00330c76c73e94629c2906

packaging/stc-iptables.spec

index 75a1c4e..ac70ad7 100644 (file)
@@ -64,7 +64,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
 cp resources/dbus/stc-iptables.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/stc-iptables.conf
 
 mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services/
-cp resources/dbus/net.stc-iptables.service %{buildroot}%{_datadir}/dbus-1/system-services/net.stc-iptables.service
+cp resources/dbus/net.stc-iptables.service %{buildroot}%{_datadir}/dbus-1/system-services/net.stc.iptables.service
 
 %post
 #Logs
@@ -87,7 +87,7 @@ chown network_fw:network_fw /opt/usr/data/network
 #DBus DAC
 %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/stc-iptables.conf
 
-%attr(644,root,root) %{_datadir}/dbus-1/system-services/net.stc-iptables.service
+%attr(644,root,root) %{_datadir}/dbus-1/system-services/net.stc.iptables.service
 
 #Test
 %{_bindir}/stc_ipt_test