summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-03-28 19:16:45 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-03-28 19:16:58 +0900
commite6662e565db5703fdb2c44113fe3d07204f0320a (patch)
treeda78621134b1041d932c7443b46a43e2844d471a
parent5de7ab4c6a9f5383c09477897339ac344e2801b9 (diff)
downloadconnman-e6662e565db5703fdb2c44113fe3d07204f0320a.tar.gz
connman-e6662e565db5703fdb2c44113fe3d07204f0320a.tar.bz2
connman-e6662e565db5703fdb2c44113fe3d07204f0320a.zip
Change-Id: I98248d7e005850458c5c3a69d55c927c10a6242b
-rwxr-xr-xpackaging/connman.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 5db54f07..870d3027 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -188,10 +188,6 @@ rm %{buildroot}%{_sysconfdir}/dbus-1/system.d/*.conf
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d/
cp src/connman.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/
-#License
-mkdir -p %{buildroot}%{_datadir}/license
-cp COPYING %{buildroot}%{_datadir}/license/connman
-
%if %{with connman_vpnd}
cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf
%endif
@@ -235,7 +231,7 @@ systemctl daemon-reload
%attr(644,root,root) %{_libdir}/systemd/system/connman.socket
%attr(644,root,root) %{_libdir}/systemd/system/sockets.target.wants/connman.socket
%endif
-%{_datadir}/license/connman
+%license COPYING
%{upgrade_script_path}/%{upgrade_script_filename}
%files test
@@ -253,6 +249,7 @@ systemctl daemon-reload
%{_libdir}/connman/plugins-vpn/openconnect.so
%{_libdir}/connman/scripts/openconnect-script
%{_datadir}/dbus-1/system-services/net.connman.vpn.service
+%license COPYING
%endif
%if %{with connman_openvpn}
@@ -261,6 +258,7 @@ systemctl daemon-reload
%{_libdir}/%{name}/plugins-vpn/openvpn.so
%{_libdir}/%{name}/scripts/openvpn-script
%{_datadir}/dbus-1/system-services/net.connman.vpn.service
+%license COPYING
%endif
%if %{with connman_vpnd}
@@ -272,6 +270,7 @@ systemctl daemon-reload
%dir %{_libdir}/%{name}/plugins-vpn
%config %{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf
%{_datadir}/dbus-1/system-services/net.connman.vpn.service
+%license COPYING
%endif