Modify the install path for license file 58/121158/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170327.143012 accepted/tizen/ivi/20170328.054937 accepted/tizen/mobile/20170328.054832 accepted/tizen/unified/20170328.054956 accepted/tizen/wearable/20170328.054916 submit/tizen/20170327.075259
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:28:21 +0000 (16:28 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:28:21 +0000 (16:28 +0900)
Change-Id: Id69d06ed1006116621025417621a1415b6e21f45
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-agent.spec

index 549157a..da3f618 100644 (file)
@@ -181,7 +181,6 @@ pushd common_build
 popd
 %endif
 
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-agent
 install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_libdir}/systemd/user/bluetooth-map-agent.service
 # This usage of profile macro does NOT conflict 4.0 configurability.
 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
@@ -217,19 +216,21 @@ rm %{_bindir}/bluetooth-hf-agent
 
 %files
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
-%{_datadir}/license/bluetooth-agent
 
 # This usage of profile macro does NOT conflict 4.0 configurability.
 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
 # Original: wearable, ivi. Added: common, "undefined"
 %files profile_wearable
+%license LICENSE
 %{_bindir}/bluetooth-hf-agent
 %{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
 %exclude %{_libdir}/systemd/user/bluetooth-map-agent.service
 %exclude %{_libdir}/systemd/system/bluetooth-pbap-agent.service
 
 %files profile_ivi
+%license LICENSE
 %{_bindir}/bluetooth-hf-agent.ivi
 %{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
 %exclude %{_libdir}/systemd/user/bluetooth-map-agent.service
@@ -240,6 +241,7 @@ rm %{_bindir}/bluetooth-hf-agent
 %if "%{?profile}" != "wearable" && "%{?profile}" != "ivi"
 # Original: common, mobile, tv. Added: "undefined"
 %files profile_common
+%license LICENSE
 %{_bindir}/bluetooth-ag-agent
 %{_bindir}/bluetooth-map-agent
 %{_bindir}/bluetooth-pb-agent
@@ -254,6 +256,7 @@ rm %{_bindir}/bluetooth-hf-agent
 
 %files ipsp
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_datadir}/dbus-1/system-services/org.projectx.bt_ipsp.service
 %{_bindir}/bt-ipsp