diff options
author | Hyuk Lee <hyuk0512.lee@samsung.com> | 2016-02-02 15:11:37 +0900 |
---|---|---|
committer | Hyuk Lee <hyuk0512.lee@samsung.com> | 2016-02-02 15:11:37 +0900 |
commit | 326d738aac3b87135998db67607a9d785e11fb95 (patch) | |
tree | 8b0e24b299e1fa56803dd861c669156eee266034 | |
parent | 9ce9ed4830af05d43625db4c8d2e14557b7b0ad7 (diff) | |
download | bluez-326d738aac3b87135998db67607a9d785e11fb95.tar.gz bluez-326d738aac3b87135998db67607a9d785e11fb95.tar.bz2 bluez-326d738aac3b87135998db67607a9d785e11fb95.zip |
Exclude the bluetooth.service for Emulatorsubmit/tizen_wearable/20160202.093314submit/tizen_tv/20160202.093310submit/tizen_mobile/20160202.093307submit/tizen_ivi/20160217.000004submit/tizen_ivi/20160217.000000submit/tizen_common/20160218.142243accepted/tizen/wearable/20160203.053133accepted/tizen/tv/20160203.053022accepted/tizen/mobile/20160203.052858accepted/tizen/ivi/20160218.024223
Change-Id: I167b7792a60357ffd86929ae6cd4afed001addee
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
-rw-r--r-- | packaging/bluez.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec index a0006abc..6f6941eb 100644 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -176,7 +176,10 @@ install -D -m 0755 attrib/gatttool $RPM_BUILD_ROOT/%{_bindir}/ install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl #test +%if "%{?_with_emulator}" == "1" +%else ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.service +%endif %post -n libbluetooth -p /sbin/ldconfig @@ -210,10 +213,14 @@ ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.s /usr/lib/udev/* #test -2 +%if "%{?_with_emulator}" == "1" +%exclude /%{_libpath}/systemd/system/bluetooth.service +%exclude /%{_datadir}/dbus-1/system-services/org.bluez.service +%else %{_libpath}/systemd/system/bluetooth.service %{_libpath}/systemd/system/dbus-org.bluez.service - %{_datadir}/dbus-1/system-services/org.bluez.service +%endif %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf %dir /var/lib/bluetooth %dir %{_sysconfdir}/modprobe.d |