Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bluez for openSUSE:Factory checked 
in at 2022-03-15 19:04:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bluez (Old)
 and      /work/SRC/openSUSE:Factory/.bluez.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bluez"

Tue Mar 15 19:04:16 2022 rev:185 rq:961724 version:5.63

Changes:
--------
--- /work/SRC/openSUSE:Factory/bluez/bluez.changes      2022-03-01 
17:03:04.256325533 +0100
+++ /work/SRC/openSUSE:Factory/.bluez.new.25692/bluez.changes   2022-03-15 
19:04:53.552947000 +0100
@@ -1,0 +2,15 @@
+Sun Mar  6 20:53:09 UTC 2022 - Martin Wilck <mwi...@suse.com>
+
+- Add code to restore user modifications for modprobe.d %config files
+  after moving the files to %_modprobedir
+- Use %_modprobedir (jsc#SLE-20639)
+
+-------------------------------------------------------------------
+Sat Mar  5 09:07:00 UTC 2022 - Stefan Seyfried <seife+...@b1-systems.com>
+
+- update to version 5.63:
+  * Fix issue with storing IRK causing invalid read access.
+  * Fix issue with disconnecting due to GattCharacteristic1.MTU.
+  * Add support for Device{Found,Lost} of advertising monitoring.
+
+-------------------------------------------------------------------

Old:
----
  bluez-5.62.tar.xz

New:
----
  bluez-5.63.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bluez.spec ++++++
--- /var/tmp/diff_new_pack.93kd2u/_old  2022-03-15 19:04:54.868947892 +0100
+++ /var/tmp/diff_new_pack.93kd2u/_new  2022-03-15 19:04:54.872947895 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bluez
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2010-2020 B1 Systems GmbH, Vohburg, Germany
 #
 # All modifications and additions to the file contributed by third parties
@@ -23,9 +23,15 @@
 %bcond_with    mesh
 %endif
 %bcond_without bluez_deprecated
-#
+
+%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150300
+# systemd-rpm-macros is wrong in 15.3 and below
+%global _modprobedir /lib/modprobe.d
+%endif
+%global modprobe_d_files 50-bluetooth.conf
+
 Name:           bluez
-Version:        5.62
+Version:        5.63
 Release:        0
 Summary:        Bluetooth Stack for Linux
 License:        GPL-2.0-or-later
@@ -246,7 +252,7 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
-install --mode=0644 -D %{SOURCE7} 
%{buildroot}/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
+install --mode=0644 -D %{SOURCE7} 
%{buildroot}/%{_modprobedir}/50-bluetooth.conf
 # no idea why this is suddenly necessary...
 install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth
 
@@ -303,6 +309,11 @@
 
 %pre
 %service_add_pre bluetooth.service bluetooth-mesh.service
+# Avoid restoring outdated stuff in posttrans
+for _f in %{?modprobe_d_files}; do
+    [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
+       mv -f "/etc/modprobe.d/${_f}.rpmsave" 
"/etc/modprobe.d/${_f}.rpmsave.old" || :
+done
 
 %post
 %{?udev_rules_update:%udev_rules_update}
@@ -319,6 +330,13 @@
 %postun
 %service_del_postun bluetooth.service bluetooth-mesh.service
 
+%posttrans
+# Migration of modprobe.conf files to _modprobedir
+for _f in %{?modprobe_d_files}; do
+    [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
+       mv -fv "/etc/modprobe.d/${_f}.rpmsave" "/etc/modprobe.d/${_f}" || :
+done
+
 %post -n libbluetooth3 -p /sbin/ldconfig
 %postun -n libbluetooth3 -p /sbin/ldconfig
 
@@ -372,8 +390,8 @@
 # not packaged, boo#1151518
 ###%%config %%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf
 %dir %{_localstatedir}/lib/bluetooth
-%dir %{_sysconfdir}/modprobe.d
-%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
+%dir %{_modprobedir}
+%{_modprobedir}/50-bluetooth.conf
 %{_unitdir}/bluetooth.service
 %if %{with mesh}
 %{_unitdir}/bluetooth-mesh.service

++++++ bluez-5.62.tar.xz -> bluez-5.63.tar.xz ++++++
++++ 16084 lines of diff (skipped)

Reply via email to