summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-03-22 06:42:31 (GMT)
committerSeonah Moon <seonah1.moon@samsung.com>2017-03-22 06:42:34 (GMT)
commitacaebb53965f6826abbf519ffb99efacdeb2af75 (patch)
tree5e8f1809a2230848b896a248a5811791b51eae6b
parent199bca7e38232678c1c2ddbd3fc6a6b597bce6a7 (diff)
downloadconnman-acaebb53965f6826abbf519ffb99efacdeb2af75.zip
connman-acaebb53965f6826abbf519ffb99efacdeb2af75.tar.gz
connman-acaebb53965f6826abbf519ffb99efacdeb2af75.tar.bz2
Changed the path of license by using '%license' macrorefs/changes/30/120230/1
Change-Id: I009433c56b7c9e12223d31d8dfe3587e9fdd03eb Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rwxr-xr-xpackaging/connman.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 3ad471b..4bea2a8 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -199,10 +199,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
@@ -246,7 +242,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