SHA256
1
0
forked from pool/bluez

Accepting request 666265 from home:seife:testing

add btgatt-client to bluez-test, remove bluez-5.50-gcc9.patch again

OBS-URL: https://build.opensuse.org/request/show/666265
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=256
This commit is contained in:
Stefan Seyfried
2019-02-02 09:10:23 +00:00
committed by Git OBS Bridge
parent d25b5894c8
commit 7852cb2a8e
3 changed files with 8 additions and 54 deletions

View File

@@ -38,8 +38,6 @@ Patch4: bluez-5.45-disable-broken-tests.diff
Patch5: 0001-obexd-use-AM_LDFLAGS-for-linking.patch
# disable tests for bypass boo#1078285
Patch6: disable_some_obex_tests.patch
# gcc9
Patch7: bluez-5.50-gcc9.patch
# Upstream suggests to use btmon instead of hcidump and does not want those patches
# => PATCH-FIX-OPENSUSE for those two :-)
# fix some memory leak with malformed packet (reported upstream but not yet fixed)
@@ -153,7 +151,6 @@ desktop specific applets like blueman or GNOME or KDE applets).
%ifarch ppc ppc64 ppc64le
%patch6 -p1
%endif
%patch7 -p1
%patch101 -p1
%patch102 -p1
mkdir dbus-apis
@@ -201,8 +198,13 @@ rm %{buildroot}%{_userunitdir}/obex.service
## same as in fedora...
# "make install" fails to install gatttool, used with Bluetooth Low Energy
# boo#970628
install -m0755 attrib/gatttool %{buildroot}%{_bindir}
## install btgatt-client for -test package, see
## https://www.spinics.net/lists/linux-bluetooth/msg63258.html
install -m0755 tools/btgatt-client %{buildroot}%{_bindir}
# for auto-enable subpackage
find . -name main.conf
install --mode 0644 -D src/main.conf %{buildroot}/%{_sysconfdir}/bluetooth/main.conf
@@ -314,6 +316,7 @@ make check V=0
#{_bindir}/hciemu
%{_bindir}/l2test
%{_bindir}/rctest
%{_bindir}/btgatt-client
%dir %{_libdir}/bluez
%{_libdir}/bluez/test