From c3df1e1ab8b55000b3c4964ce255bb84b07549ce6ff9cd0f9291d6b7f1c94025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Tue, 20 Dec 2011 20:05:03 +0000 Subject: [PATCH] Accepting request 97320 from home:elvigia:branches:Base:System - kernel.org currently lacks of bluez tarballs - Fix build failures due to lack of autotools OBS-URL: https://build.opensuse.org/request/show/97320 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=109 --- bluez-gstreamer.spec | 8 +------- bluez.changes | 6 ++++++ bluez.spec | 14 +++++--------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/bluez-gstreamer.spec b/bluez-gstreamer.spec index 0046de5..07f9a1b 100644 --- a/bluez-gstreamer.spec +++ b/bluez-gstreamer.spec @@ -71,17 +71,11 @@ Authors: %setup -n bluez-%{version} -q %patch1 -p1 cp %{S:6} . -%{?suse_update_config:%{suse_update_config -f . }} %build -# autoreconf -sfi -CFLAGS="$RPM_OPT_FLAGS -g" \ - ./configure --prefix=%{_prefix} \ - --mandir=%{_mandir} \ - --sysconfdir=%{_sysconfdir} \ +%configure --with-pic \ --libdir=%{_libdir} \ --libexecdir=/lib \ - --localstatedir=/var \ --enable-gstreamer \ --enable-alsa \ --enable-usb \ diff --git a/bluez.changes b/bluez.changes index a613532..b24adee 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 20 19:46:07 UTC 2011 - crrodriguez@opensuse.org + +- kernel.org currently lacks of bluez tarballs +- Fix build failures due to lack of autotools + ------------------------------------------------------------------- Fri Dec 16 03:22:40 UTC 2011 - crrodriguez@opensuse.org diff --git a/bluez.spec b/bluez.spec index 211fc1f..1260b48 100644 --- a/bluez.spec +++ b/bluez.spec @@ -35,6 +35,8 @@ BuildRequires: libnl-1_1-devel libusb-devel BuildRequires: alsa-devel libsndfile-devel pkg-config udev BuildRequires: readline-devel BuildRequires: libudev-devel +BuildRequires: libtool +BuildRequires: automake Url: http://www.bluez.org Version: 4.96 Release: 1 @@ -43,7 +45,7 @@ Group: Hardware/Mobile License: GPL-2.0+ Group: Hardware/Mobile AutoReqProv: on -Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2 +Source: bluez-%{version}.tar.bz2 Source2: bluez-coldplug.init Source3: bluetooth.sysconfig Source4: bluetooth.sh @@ -195,19 +197,13 @@ Authors: # changed significantly anyway. I'll keep it until i get confirmation in bugzilla. ##%%patch2 -p1 cp %{S:6} . -%{?suse_update_config:%{suse_update_config -f . }} mkdir dbus-apis cp -a doc/*.txt dbus-apis/ %build -# autoreconf -sfi -CFLAGS="$RPM_OPT_FLAGS -g" \ - ./configure --prefix=%{_prefix} \ - --mandir=%{_mandir} \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} \ +autoreconf -fiv +%configure --with-pic \ --libexecdir=/lib \ - --localstatedir=/var \ --enable-gstreamer \ --enable-alsa \ --enable-usb \