From: DoHyun Pyun Date: Thu, 2 Mar 2017 04:28:47 +0000 (+0900) Subject: Apply 4.0 bulid config option for building X-Git-Tag: accepted/tizen/wearable/20170302.121625 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f667bbb8e6770bf8fedba133bceba7db9eb5b12;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Apply 4.0 bulid config option for building Change-Id: I444f43ba47ad3a804f9aa066f61fcdf98efca52a Signed-off-by: DoHyun Pyun --- diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index 72c48fe..549157a 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -186,9 +186,15 @@ install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_libdir}/ # This usage of profile macro does NOT conflict 4.0 configurability. %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" # Original: wearable, ivi. Added: common, "undefined" -mv %{buildroot}/usr/wearable/share/dbus-1/system-services/org.bluez.hf_agent.service %{buildroot}%{_datadir}/dbus-1/system-services/ -mv %{buildroot}/usr/wearable/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/ -mv %{buildroot}/usr/ivi/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/bluetooth-hf-agent.ivi +mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services +mkdir -p %{buildroot}%{_bindir}/ +install -D -m 0644 %{buildroot}/usr/wearable/share/dbus-1/system-services/org.bluez.hf_agent.service %{buildroot}%{_datadir}/dbus-1/system-services/ +install -D -m 0644 %{buildroot}/usr/wearable/share/dbus-1/system-services/org.projectx.bt_ipsp.service %{buildroot}%{_datadir}/dbus-1/system-services/ +install -D -m 0644 %{buildroot}/usr/wearable/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/ +install -D -m 0644 %{buildroot}/usr/wearable/bin/bt-ipsp %{buildroot}%{_bindir}/ +install -D -m 0644 %{buildroot}/usr/ivi/share/dbus-1/system-services/org.projectx.bt_ipsp.service %{buildroot}%{_datadir}/dbus-1/system-services/ +install -D -m 0644 %{buildroot}/usr/ivi/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/bluetooth-hf-agent.ivi +install -D -m 0644 %{buildroot}/usr/ivi/bin/bt-ipsp %{buildroot}%{_bindir}/ rm -Rf %{buildroot}/usr/ivi rm -Rf %{buildroot}/usr/wearable %endif