From: Jaehyun Kim Date: Wed, 24 Jun 2020 06:43:13 +0000 (+0900) Subject: Change the service file path for 64bit build X-Git-Tag: submit/tizen/20200624.065138^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.0;p=platform%2Fcore%2Fconnectivity%2Fstc-iptables.git Change the service file path for 64bit build Change-Id: I4146281a3649925c0736f362ea828929331316c4 Signed-off-by: Jaehyun Kim --- diff --git a/packaging/stc-iptables.spec b/packaging/stc-iptables.spec index ac70ad7..8514b96 100644 --- a/packaging/stc-iptables.spec +++ b/packaging/stc-iptables.spec @@ -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