Accepting request 1007778 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1007778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=191
This commit is contained in:
Richard Brown 2022-10-11 16:01:27 +00:00 committed by Git OBS Bridge
commit 550f424312
3 changed files with 2539 additions and 1 deletions

View File

@ -1,3 +1,79 @@
-------------------------------------------------------------------
Tue Oct 4 03:20:40 UTC 2022 - Joey Lee <jlee@suse.com>
- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync the spec file and
log: (jsc#PED-1407)
- SLE15-SP5 will direct use bluez.changes for openSUSE TW.
So keep the contents of SLE bluez.changes to bluez.changes.sle file.
- Put to /usr/share/doc/packages/bluez/bluez.changes.sle in package.
-------------------------------------------------------------------
Mon Oct 3 05:21:03 UTC 2022 - Joey Lee <jlee@suse.com>
- For pushing bluez 5.65 to 15-SP5 (bluez-5.62), sync the spec file and
log: (jsc#PED-1407)
- SLE15-SP5 will use the bluez.spec from openSUSE TW. The following
are changes in bluez.spec of SLE15-SP5:
- Obsoletes: bluez-utils <= 3.36
to
Obsoletes: bluez-utils < 3.36
- Obsoletes: bluez-audio <= 3.36
to
Obsoletes: bluez-audio < 3.36
- In %package -n libbluetooth3:
Obsoletes: bluez-libs <= 3.36
to
Obsoletes: bluez-libs < 3.36
- In %package cups, add the following statements
Requires: %{name}
Requires: cups
Supplements: (%{name} and cups)
- In %package test
Requires: python3-gobject2
to
Requires: python3-gobject
- In %package auto-enable-devices package, add
Requires(post): systemd
- Add %package obexd and %package zsh-completion
and their %description
- In %prep
- Removed
%setup -q
- Removed
# FIXME: Change the dbus service to be a real service, not systemd launched
sed -i "s:Exec=/bin/false:Exec=%{_libexecdir}/bluetooth/obexd:g" obexd/src/org.bluez.obex.service
sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service
# END FIXME
- In %build, add
--with-dbusconfdir=%{_datadir} \
- In %install
- Removed
# FIXME: Do not delete the systemd service once we support systemd user/session services
rm %{buildroot}%{_userunitdir}/obex.service
# end FIXME
- org.bluez.mesh.service to %{_sysconfdir}/dbus-1/system-services/,
to
org.bluez.mesh.service to %{_datadir}/dbus-1/system-services/,
- In %files
- Add
%{_bindir}/isotest
%{_libexecdir}/bluetooth/obexd
%{_mandir}/man1/isotest.1%{?ext_man}
- %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
to
%{_datadir}/dbus-1/system.d/bluetooth.conf
- Removed
%{_datadir}/dbus-1/services/org.bluez.obex.service
- Removed
%{_datadir}/zsh/site-functions/_bluetoothctl
- Add %files zsh-completion
- SLE15-SP5 will direct use bluez.changes for openSUSE TW.
So keep the contents of SLE bluez.changes to bluez.changes.sle file.
- Removed shared-gatt-server-Fix-heap-overflow-when-appending-.patch in
SLE15-SP5 bluez because 5.65 bluez already includes it.
- The code shall check if the prepare writes would append more the
allowed maximum attribute length. (bsc#1194704 CVE-2022-0204)
-------------------------------------------------------------------
Wed Sep 14 07:56:19 UTC 2022 - Joey Lee <jlee@suse.com>

2460
bluez.changes.sle Normal file

File diff suppressed because it is too large Load Diff

View File

@ -42,6 +42,7 @@ Source: https://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.
#KEEP NOSOURCE DEBUGINFO
Source5: baselibs.conf
Source7: bluetooth.modprobe
Source9: bluez.changes.sle
# fix some logitech HID devices, bnc#681049, bnc#850478 --seife+obs@b1-systems.com
Patch1: bluez-5.11-logitech-hid2hci.patch
Patch2: bluez-sdp-unix-path.patch
@ -302,9 +303,10 @@ chmod 0644 *.py *.xml *.dtd
# fix python shebang
sed -i -e '1s/env p/p/' %{buildroot}%{_libdir}/bluez/test/{example-gatt-{client,server},test-mesh}
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
cp %{SOURCE9} %{buildroot}%{_defaultdocdir}/%{name}
%if %{with mesh}
# boo#1151518
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
mv %{buildroot}%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf %{buildroot}%{_defaultdocdir}/%{name}
mv %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.mesh.service %{buildroot}%{_defaultdocdir}/%{name}
cat > %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE << EOF