From 9f571256b51dfc4d5ce7b065d3cde428ba35f816b0f1c65e4c84b968a823be94 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 26 May 2017 21:27:55 +0000 Subject: [PATCH] Accepting request 498546 from home:seife:testing update to version 5.45 OBS-URL: https://build.opensuse.org/request/show/498546 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=225 --- bluez-5.44.tar.xz | 3 --- bluez-5.45-disable-broken-tests.diff | 22 ++++++++++++++++++++++ bluez-5.45.tar.xz | 3 +++ bluez.changes | 17 ++++++++++++++++- bluez.spec | 9 +++++++-- 5 files changed, 48 insertions(+), 6 deletions(-) delete mode 100644 bluez-5.44.tar.xz create mode 100644 bluez-5.45-disable-broken-tests.diff create mode 100644 bluez-5.45.tar.xz diff --git a/bluez-5.44.tar.xz b/bluez-5.44.tar.xz deleted file mode 100644 index 1b16a7e..0000000 --- a/bluez-5.44.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c321e291f8b45e6a78e379dfe80592b65955a0f0ab191f1cca0edd8ec356c85 -size 1670320 diff --git a/bluez-5.45-disable-broken-tests.diff b/bluez-5.45-disable-broken-tests.diff new file mode 100644 index 0000000..eb5214f --- /dev/null +++ b/bluez-5.45-disable-broken-tests.diff @@ -0,0 +1,22 @@ +diff --git a/Makefile.am b/Makefile.am +index 84e67a4..cac5283 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -395,7 +395,7 @@ unit_test_lib_SOURCES = unit/test-lib.c + unit_test_lib_LDADD = src/libshared-glib.la \ + lib/libbluetooth-internal.la @GLIB_LIBS@ + +-unit_tests += unit/test-gatt ++#unit_tests += unit/test-gatt + + unit_test_gatt_SOURCES = unit/test-gatt.c + unit_test_gatt_LDADD = src/libshared-glib.la \ +@@ -424,7 +424,7 @@ unit_test_gattrib_LDADD = lib/libbluetooth-internal.la \ + @GLIB_LIBS@ @DBUS_LIBS@ -ldl -lrt + + if MIDI +-unit_tests += unit/test-midi ++#unit_tests += unit/test-midi + unit_test_midi_CFLAGS = $(AM_CFLAGS) @ALSA_CFLAGS@ -DMIDI_TEST + unit_test_midi_SOURCES = unit/test-midi.c \ + profiles/midi/libmidi.h \ diff --git a/bluez-5.45.tar.xz b/bluez-5.45.tar.xz new file mode 100644 index 0000000..16a3c6e --- /dev/null +++ b/bluez-5.45.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cacb00703a6bc149cb09502257d321597d43952374a16f3558766ffa85364e9 +size 1672404 diff --git a/bluez.changes b/bluez.changes index 465c7a2..e6ab5f1 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,7 +1,22 @@ +------------------------------------------------------------------- +Fri May 26 13:16:07 UTC 2017 - seife+obs@b1-systems.com + +- add bluez-5.45-disable-broken-tests.diff to disable two broken + tests (reported upstream but not yet fixed) + +------------------------------------------------------------------- +Sat May 6 18:59:55 UTC 2017 - seife+obs@b1-systems.com + +- update to version 5.45: + This is mostly a bugfix release with fixes in ATT, GATT, OBEX + and AVDTP. + Feature-wise there are some new things as well, such as btmon + support decoding Bluetooth 5.0 HCI commands and events. + ------------------------------------------------------------------- Fri Mar 3 09:16:29 UTC 2017 - seife+obs@b1-systems.com -- make testsuite run non-parallel (obs seems to have problems with +- make testsuite run non-parallel (it has problems with running parallel checks) and quiet ------------------------------------------------------------------- diff --git a/bluez.spec b/bluez.spec index 7856ee9..f43e011 100644 --- a/bluez.spec +++ b/bluez.spec @@ -18,7 +18,7 @@ Name: bluez -Version: 5.44 +Version: 5.45 Release: 0 Summary: Bluetooth Stack for Linux License: GPL-2.0+ @@ -32,6 +32,8 @@ Patch1: bluez-5.11-logitech-hid2hci.patch Patch2: bluez-sdp-unix-path.patch # PATCH-FIX-UPSTREAM: find the cups dir in libexec not in libdir Patch3: bluez-cups-libexec.patch +# workaround for broken tests (reported upstream but not yet fixed) +Patch4: bluez-5.45-disable-broken-tests.diff BuildRequires: automake BuildRequires: flex BuildRequires: libtool @@ -114,6 +116,7 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 mkdir dbus-apis cp -a doc/*.txt dbus-apis/ # FIXME: Change the dbus service to be a real service, not systemd launched @@ -122,6 +125,8 @@ sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service # END FIXME %build +# because of patch4... +autoreconf -fi # --enable-experimental is needed or btattach does not build (bug?) %configure \ --disable-silent-rules \ @@ -161,7 +166,7 @@ chmod 0644 *.py *.xml *.dtd %check %if ! 0%{?qemu_user_space_build} ##make %%{?_smp_mflags} check -# deliberately not running parallel, as OBS seems to create spurious failures otherwise +# deliberately not running parallel, as the test suite has spurious failures otherwise make check V=0 %endif