summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-07-25 11:22:05 (GMT)
committerseonah moon <seonah1.moon@samsung.com>2017-07-25 11:53:42 (GMT)
commita06a3b770af96b906dc1520fcb6c386a1106ef45 (patch)
treec15486cf36cfbfba9d59b78df32f853d3ff55bfe
parentd97dd6aa1518cf4138c53028ecfcfe668dd4e1b3 (diff)
downloadconnman-a06a3b770af96b906dc1520fcb6c386a1106ef45.zip
connman-a06a3b770af96b906dc1520fcb6c386a1106ef45.tar.gz
connman-a06a3b770af96b906dc1520fcb6c386a1106ef45.tar.bz2
Remove unnecessary service filerefs/changes/78/140578/2
Change-Id: I5253fda2f7eddc377bbd6f38dc81934ce7f035df
-rwxr-xr-xpackaging/connman.spec27
1 files changed, 3 insertions, 24 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index f7947cb..7e3c9c8 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -241,22 +241,19 @@ systemctl daemon-reload
%files
%manifest connman.manifest
-%attr(500,network_fw,network_fw) %{_bindir}/*
+%attr(500,network_fw,network_fw) %{_bindir}/connmand
%attr(500,network_fw,network_fw) %{_bindir}/connmanctl
%attr(755,network_fw,network_fw) /%{_localstatedir}/lib/connman
%attr(600,network_fw,network_fw) /%{_localstatedir}/lib/connman/settings
-#%{_libdir}/connman/plugins/*.so
-%attr(644,network_fw,network_fw) %{_datadir}/dbus-1/system-services/*
+%attr(644,network_fw,network_fw) %{_datadir}/dbus-1/system-services/net.connman.service
%{_sysconfdir}/dbus-1/system.d/*
%attr(644,network_fw,network_fw) %{_sysconfdir}/connman/main.conf
%{_sysconfdir}/dbus-1/system.d/*.conf
%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/connman.service
%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/multi-user.target.wants/connman.service
-%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/connman-vpn.service
%if "%{?_lib}" == "lib64"
%attr(644,network_fw,network_fw) %{_unitdir}/connman.service
%attr(644,network_fw,network_fw) %{_unitdir}/multi-user.target.wants/connman.service
-%attr(644,network_fw,network_fw) %{_unitdir}/connman-vpn.service
%attr(644,network_fw,network_fw) %{_unitdir}/connman.socket
%attr(644,network_fw,network_fw) %{_unitdir}/sockets.target.wants/connman.socket
%else
@@ -280,13 +277,7 @@ systemctl daemon-reload
%manifest %{name}.manifest
%{_libdir}/connman/plugins-vpn/openconnect.so
%{_libdir}/connman/scripts/openconnect-script
-%{_datadir}/dbus-1/system-services/net.connman.vpn.service
%license COPYING
-%if "%{?_lib}" == "lib64"
-%attr(644,network_fw,network_fw) %{_unitdir}/connman-vpn.service
-%else
-%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/connman-vpn.service
-%endif
%endif
%if %{with connman_openvpn}
@@ -294,13 +285,7 @@ systemctl daemon-reload
%manifest %{name}.manifest
%{_libdir}/%{name}/plugins-vpn/openvpn.so
%{_libdir}/%{name}/scripts/openvpn-script
-%{_datadir}/dbus-1/system-services/net.connman.vpn.service
%license COPYING
-%if "%{?_lib}" == "lib64"
-%attr(644,network_fw,network_fw) %{_unitdir}/connman-vpn.service
-%else
-%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/connman-vpn.service
-%endif
%endif
%if %{with connman_ipsec}
@@ -308,19 +293,13 @@ systemctl daemon-reload
%manifest %{name}.manifest
%{_libdir}/%{name}/plugins-vpn/ipsec.so
%{_libdir}/%{name}/scripts/ipsec-script
-%{_datadir}/dbus-1/system-services/net.connman.vpn.service
%license COPYING
-%if "%{?_lib}" == "lib64"
-%attr(644,network_fw,network_fw) %{_unitdir}/connman-vpn.service
-%else
-%attr(644,network_fw,network_fw) %{_libdir}/systemd/system/connman-vpn.service
-%endif
%endif
%if %{with connman_vpnd}
%files connman-vpnd
%manifest %{name}.manifest
-#%{_bindir}/connman-vpnd
+%{_bindir}/connman-vpnd
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/scripts
%dir %{_libdir}/%{name}/plugins-vpn