From 123a7f0965975f88a4968330ab2eb3d038a7c512e8c3d8bb5c482ad43ab22619 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 31 Jul 2016 15:46:40 +0000 Subject: [PATCH 1/2] Accepting request 414829 from home:seife:testing update to version 5.41 OBS-URL: https://build.opensuse.org/request/show/414829 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=213 --- bluez-5.40.tar.xz | 3 --- bluez-5.41.tar.xz | 3 +++ bluez.changes | 11 +++++++++++ bluez.spec | 7 +++++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 bluez-5.40.tar.xz create mode 100644 bluez-5.41.tar.xz diff --git a/bluez-5.40.tar.xz b/bluez-5.40.tar.xz deleted file mode 100644 index f886bb7..0000000 --- a/bluez-5.40.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dada8b812055afcad4546d9966f9a763e4723169e89706e2b240c7b7e998dc27 -size 1664320 diff --git a/bluez-5.41.tar.xz b/bluez-5.41.tar.xz new file mode 100644 index 0000000..98cdece --- /dev/null +++ b/bluez-5.41.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df7dc4462494dad4e60a2943240d584f6e760235dca64f5f10eba46dbab7f5f0 +size 1665948 diff --git a/bluez.changes b/bluez.changes index f9e8c30..132cde4 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 20 22:32:18 UTC 2016 - seife+obs@b1-systems.com + +- update to version 5.41: + BlueZ 5.41 is purely a bug-fix release targeting areas such as + GATT, AVRCP, OBEX and device discovery filters. The GATT D-Bus + API is now starting to be stable enough that this will likely be + the last release where it is flagged as experimental. +- fix build with older distributions that don't have %_userunitdir + ins systemd-rpm-macros + ------------------------------------------------------------------- Tue Jun 7 13:17:48 UTC 2016 - fbui@suse.com diff --git a/bluez.spec b/bluez.spec index 3142601..fb69290 100644 --- a/bluez.spec +++ b/bluez.spec @@ -24,7 +24,7 @@ BuildRequires: libcap-ng-devel BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(dbus-1) >= 1.6 %{?systemd_requires} -Version: 5.40 +Version: 5.41 Release: 0 Summary: Bluetooth Stack for Linux License: GPL-2.0+ @@ -63,6 +63,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build # on all platforms (see Novell/Suse Bugzilla bnc#575544): %define cups_lib_dir %{_prefix}/lib/cups +# we want to be able to build with older distros, too... +%{!?_userunitdir: %define _userunitdir %{_prefix}/lib/systemd/user} + %description The Bluetooth stack for Linux. @@ -150,7 +153,7 @@ fi install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth # FIXME: Do not delete the systemd service once we support systemd user/session services -rm %{buildroot}%{_prefix}/lib/systemd/user/obex.service +rm %{buildroot}%{_userunitdir}/obex.service # end FIXME ## same as in fedora... From deea58cbbfb27d19c6a0b162c53f3c11ecf931f501f910b3a62caa5cf44bdfb6 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 2 Aug 2016 17:27:10 +0000 Subject: [PATCH 2/2] Accepting request 416267 from home:jengelh:branches:Base:System - Update descriptions a bit. Adjust RPM groups for what is used in openSUSE normally. Drop archaic %clean section. Drop --with-pic which is only for (unbuilt) static libs. OBS-URL: https://build.opensuse.org/request/show/416267 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=214 --- bluez.changes | 7 +++++++ bluez.spec | 20 ++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/bluez.changes b/bluez.changes index 132cde4..7ca1d88 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jul 31 21:42:27 UTC 2016 - jengelh@inai.de + +- Update descriptions a bit. Adjust RPM groups for what is used + in openSUSE normally. Drop archaic %clean section. + Drop --with-pic which is only for (unbuilt) static libs. + ------------------------------------------------------------------- Wed Jul 20 22:32:18 UTC 2016 - seife+obs@b1-systems.com diff --git a/bluez.spec b/bluez.spec index fb69290..4434cd9 100644 --- a/bluez.spec +++ b/bluez.spec @@ -67,12 +67,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{!?_userunitdir: %define _userunitdir %{_prefix}/lib/systemd/user} %description -The Bluetooth stack for Linux. +BlueZ provides support for the core Bluetooth layers and protocols. %package devel Summary: Files needed for BlueZ development License: GPL-2.0+ -Group: Development/Sources +Group: Development/Languages/C and C++ Requires: libbluetooth3 = %{version} %description devel @@ -82,12 +82,19 @@ stack. %package -n libbluetooth3 Summary: Bluetooth Libraries License: GPL-2.0+ -Group: Hardware/Mobile +Group: System/Libraries Provides: bluez-libs = 3.36 Obsoletes: bluez-libs <= 3.36 %description -n libbluetooth3 -Bluetooth protocol stack libraries. +BlueZ provides support for the core Bluetooth layers and protocols. +It is uses a modular implementation. It has many interesting features: + +* Multithreaded data processing +* Support for multiple Bluetooth devices +* Real hardware abstraction +* Standard socket interface to all layers +* Device and service level security support %package cups Summary: CUPS Driver for Bluetooth Printers @@ -123,7 +130,7 @@ sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service %build # --enable-experimental is needed or btattach does not build (bug?) -%configure --with-pic \ +%configure \ --enable-pie \ --enable-library \ --enable-tools \ @@ -169,9 +176,6 @@ chmod 0644 *.py *.xml *.dtd make %{?_smp_mflags} check %endif -%clean -rm -rf %{buildroot} - %pre %service_add_pre bluetooth.service