diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2015-08-17 14:19:43 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2015-08-17 14:19:43 +0900 |
commit | 8ca1af73e9149f4080558369bec2606a0b51a605 (patch) | |
tree | 394be7a2050257df8d95638e53b8951568dde0f6 | |
parent | 178daa16c939175a3bc194ed1fc5aa9e7e7a8103 (diff) | |
download | bluez-tizen_3.0.m1_mobile.tar.gz bluez-tizen_3.0.m1_mobile.tar.bz2 bluez-tizen_3.0.m1_mobile.zip |
Modify libdir for systemdtizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_wearable/20150817.053146submit/tizen_tv/20150817.053142submit/tizen_mobile/20150817.053139submit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624accepted/tizen/wearable/20150817.134834accepted/tizen/tv/20150817.134544accepted/tizen/mobile/20150817.134202tizen_3.0.m1_tvtizen_3.0.m1_mobile
Change-Id: I555d55d7646ffbd372599e988569e3bb15adbc67
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | packaging/bluez.spec | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 8777575f..78ebeb69 100644 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -1,4 +1,5 @@ #%define with_libcapng --enable-capng +%define _libpath /usr/lib Name: bluez Summary: Bluetooth Stack for Linux Version: 5.28 @@ -101,8 +102,8 @@ export CFLAGS+=" -DPBAP_SIM_ENABLE" %reconfigure --disable-static \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_localstatedir} \ - --with-systemdsystemunitdir=%{_libdir}/systemd/system \ - --with-systemduserunitdir=%{_libdir}/systemd/user \ + --with-systemdsystemunitdir=%{_libpath}/systemd/system \ + --with-systemduserunitdir=%{_libpath}/systemd/user \ --libexecdir=%{_libexecdir} \ --enable-debug \ --enable-pie \ @@ -171,7 +172,7 @@ install -D -m 0755 attrib/gatttool $RPM_BUILD_ROOT/%{_bindir}/ install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl #test -ln -sf bluetooth.service %{buildroot}%{_libdir}/systemd/system/dbus-org.bluez.service +ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.service %post -n libbluetooth -p /sbin/ldconfig @@ -204,8 +205,8 @@ ln -sf bluetooth.service %{buildroot}%{_libdir}/systemd/system/dbus-org.bluez.se /usr/lib/udev/* #test -2 -%{_libdir}/systemd/system/bluetooth.service -%{_libdir}/systemd/system/dbus-org.bluez.service +%{_libpath}/systemd/system/bluetooth.service +%{_libpath}/systemd/system/dbus-org.bluez.service %{_datadir}/dbus-1/system-services/org.bluez.service %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf @@ -232,7 +233,7 @@ ln -sf bluetooth.service %{buildroot}%{_libdir}/systemd/system/dbus-org.bluez.se %files -n obexd %defattr(-,root,root,-) %{_libexecdir}/bluetooth/obexd -%{_libdir}/systemd/user/obex.service +%{_libpath}/systemd/user/obex.service %{_datadir}/dbus-1/services/org.bluez.obex.service %{_sysconfdir}/obex/root-setup.d/000_create-symlinks %{_bindir}/obex-root-setup |