From 998337d552ebfd679a42aaa102c7c8f8ab79ee99 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 2 Mar 2017 13:28:47 +0900 Subject: [PATCH] Apply 4.0 bulid config option for building Change-Id: I444f43ba47ad3a804f9aa066f61fcdf98efca52a Signed-off-by: DoHyun Pyun --- packaging/bluetooth-agent.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 2.7.4