From 4369c938a03e1670a3007472053e24ea6769056a Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Mon, 27 Mar 2017 16:28:21 +0900 Subject: [PATCH] Modify the install path for license file Change-Id: Id69d06ed1006116621025417621a1415b6e21f45 Signed-off-by: DoHyun Pyun --- packaging/bluetooth-agent.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index 549157a..da3f618 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -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 -- 2.7.4