From: seungku kim Date: Mon, 30 Mar 2015 02:12:34 +0000 (+0900) Subject: Enable to build arm 64bit X-Git-Tag: accepted/tizen/common/20150521.125355^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83b1da4fb00cc54e0a6d482ecbbae3d40599bbd6;p=platform%2Fupstream%2Fbluez.git Enable to build arm 64bit Change-Id: I19ad806b9da3bd445a70b5c2559802703b75e7c0 --- diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 22488e5..b905670 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