diff options
author | seungku kim <seungku.kim@samsung.com> | 2015-03-30 11:12:34 +0900 |
---|---|---|
committer | Pyun DoHyun <dh79.pyun@samsung.com> | 2015-03-31 19:38:56 -0700 |
commit | 83b1da4fb00cc54e0a6d482ecbbae3d40599bbd6 (patch) | |
tree | 3855404cae530f5d14be2078c792790f7c89dfc3 | |
parent | faa1feaaa5606e8d5cfd622c2e1989d495b3c767 (diff) | |
download | bluez-83b1da4fb00cc54e0a6d482ecbbae3d40599bbd6.tar.gz bluez-83b1da4fb00cc54e0a6d482ecbbae3d40599bbd6.tar.bz2 bluez-83b1da4fb00cc54e0a6d482ecbbae3d40599bbd6.zip |
Enable to build arm 64bitsubmit/tizen_wearable/20150401.025628submit/tizen_tv/20150504.080906submit/tizen_tv/20150401.025622submit/tizen_mobile/20150504.080911submit/tizen_mobile/20150427.013555submit/tizen_mobile/20150401.025613submit/tizen_common/20150520.888882accepted/tizen/tv/20150505.044050accepted/tizen/mobile/20150505.044756accepted/tizen/mobile/20150427.052122accepted/tizen/common/20150521.125355
Change-Id: I19ad806b9da3bd445a70b5c2559802703b75e7c0
-rwxr-xr-x | packaging/bluez.spec | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 22488e59..b9056706 100755 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -1,4 +1,4 @@ -%define with_libcapng --enable-capng +#%define with_libcapng --enable-capng Name: bluez Summary: Bluetooth Stack for Linux Version: 5.27 @@ -120,16 +120,14 @@ export LDFLAGS=" -lncurses -Wl,--as-needed " export CFLAGS+=" -DPBAP_SIM_ENABLE" #%reconfigure --with-pic \ %reconfigure --with-pic \ - --libexecdir=/lib \ - --disable-usb \ - --enable-test \ - --enable-library \ - --enable-experimental \ - --enable-readline \ - --enable-service \ - --with-systemdunitdir=%{_unitdir} \ - %{?with_libcapng} - + --libexecdir=/lib \ + --disable-usb \ + --enable-test \ + --enable-library \ + --enable-experimental \ + --enable-readline \ + --enable-service \ + --with-systemdunitdir=%{_unitdir} \ # --disable-static \ # --sysconfdir=%{_sysconfdir} \ # --localstatedir=%{_localstatedir} \ @@ -179,6 +177,7 @@ make check %make_install # bluez-test +echo "%{_libdir}" rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-* install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf @@ -215,7 +214,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}%{_unitdir}/dbus-org.bluez.service %post -n libbluetooth -p /sbin/ldconfig @@ -251,8 +250,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 +%{_unitdir}/bluetooth.service +%{_unitdir}/dbus-org.bluez.service %{_datadir}/dbus-1/system-services/org.bluez.service %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf |