Change the service file path for 64bit build 33/237033/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120555 accepted/tizen/6.0/unified/hotfix/20201103.051358 accepted/tizen/unified/20200626.133547 submit/tizen/20200624.065138 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
authorJaehyun Kim <jeik01.kim@samsung.com>
Wed, 24 Jun 2020 06:43:13 +0000 (15:43 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Wed, 24 Jun 2020 06:47:13 +0000 (15:47 +0900)
Change-Id: I4146281a3649925c0736f362ea828929331316c4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
packaging/stc-iptables.spec

index ac70ad7c3ecb320b53ca6ca3574b74d60ceb543d..8514b96a0537e923b20ede6ffe9fce41c8be5712 100644 (file)
@@ -53,11 +53,11 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}/%{_localstatedir}/lib/stc
 
 #Systemd iptables service file
-mkdir -p %{buildroot}%{_libdir}/systemd/system/
-cp resources/systemd/stc-iptables.service %{buildroot}%{_libdir}/systemd/system/stc-iptables.service
+mkdir -p %{buildroot}%{_unitdir}
+cp resources/systemd/stc-iptables.service %{buildroot}%{_unitdir}/stc-iptables.service
 
-mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/
-ln -s ../stc-iptables.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/stc-iptables.service
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants/
+ln -s ../stc-iptables.service %{buildroot}%{_unitdir}/multi-user.target.wants/stc-iptables.service
 
 #DBus DAC (stc-iptables.manifest enables DBus SMACK)
 mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
@@ -79,8 +79,8 @@ chown network_fw:network_fw /opt/usr/data/network
 %defattr(-,network_fw,network_fw,-)
 %attr(500,network_fw,network_fw) %{_bindir}/stc-iptables
 
-%attr(644,root,root) %{_libdir}/systemd/system/stc-iptables.service
-%attr(644,root,root) %{_libdir}/systemd/system/multi-user.target.wants/stc-iptables.service
+%attr(644,root,root) %{_unitdir}/stc-iptables.service
+%attr(644,root,root) %{_unitdir}/multi-user.target.wants/stc-iptables.service
 
 %attr(755,network_fw,network_fw) /%{_localstatedir}/lib/stc