Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package stlink for openSUSE:Factory checked in at 2026-10-26 09:59:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stlink (Old) and /work/SRC/openSUSE:Factory/.stlink.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stlink" Mon Oct 26 09:59:47 2026 rev:11 rq:1392351 version:1.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/stlink/stlink.changes 2024-02-23 16:46:26.977773780 +0100 +++ /work/SRC/openSUSE:Factory/.stlink.new.2252680/stlink.changes 2026-10-26 10:00:16.419395068 +0100 @@ -1,0 +2,19 @@ +Sun Oct 25 06:53:43 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.9.0: + * Support for STM32H5, STM32C5, STM32U073 and STM32L4Q5CG + series (erase, read and write), STM32H533 plus trace + support for H5/U5/L5 + * New st-server tool with remote backend for remote control + of an STLINK programmer, including its man page + * st-flash write commands gained a --mass-erase option; st-info + probes in parallel and reports voltage + * Flash erase support in stlink-gui, OTP bytes for STM32U575/585 + and option bytes for STM32L41x/L42x + * Harden gdb-server against buffer overflows via bounded string + copies + * Raised build requirements: C17, cmake >= 3.21, + libusb >= 1.0.24, gtk3 >= 3.24.30; drops support for some + older operating systems + +------------------------------------------------------------------- Old: ---- stlink-1.8.0.tar.gz New: ---- stlink-1.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stlink.spec ++++++ --- /var/tmp/diff_new_pack.437IZP/_old 2026-10-26 10:00:17.052421627 +0100 +++ /var/tmp/diff_new_pack.437IZP/_new 2026-10-26 10:00:17.054421710 +0100 @@ -16,29 +16,29 @@ # +%global modprobe_d_files stlink_v1.conf +%define sover 1 %if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150300 # systemd-rpm-macros is wrong in 15.3 and below %define _modprobedir /lib/modprobe.d %endif -%global modprobe_d_files stlink_v1.conf - -%define sover 1 - Name: stlink -Version: 1.8.0 +Version: 1.9.0 Release: 0 Summary: STM32 discovery line linux programmer License: BSD-3-Clause -Group: Development/Tools/Debuggers URL: https://github.com/stlink-org/stlink/ Source0: https://github.com/stlink-org/stlink/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: cmake -BuildRequires: gtk3-devel >= 3.22.30 -BuildRequires: pkg-config +BuildRequires: cmake >= 3.21 +# Keep the plain -devel form: its pkgconfig expansion is ten sub-libraries +# the GUI never names directly; the single BuildRequires is exact. +BuildRequires: gtk3-devel >= 3.24.30 +BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files -BuildRequires: pkgconfig(libusb-1.0) >= 1.0.22 +BuildRequires: pkgconfig(libusb-1.0) >= 1.0.24 BuildRequires: pkgconfig(udev) +# Runtime requirement on the udev package itself, not its devel files. Requires: udev %description @@ -46,7 +46,6 @@ %package gui Summary: GUI for STM32 discovery line linux programmer -Group: Development/Tools/Debuggers Requires: %{name} = %{version} %description gui @@ -54,14 +53,12 @@ %package -n libstlink%{sover} Summary: Shared library for stlink -Group: Development/Tools/Debuggers %description -n libstlink%{sover} STLINK v1/v2 JTAG/SWD debugging/flashing tool for STM32 microcontrollers. %package devel Summary: Development files for stlink package -Group: Development/Tools/Debuggers Requires: libstlink%{sover} = %{version} %description devel @@ -71,8 +68,8 @@ %autosetup -p1 %build -%cmake -DSTLINK_UDEV_RULES_DIR="%_udevrulesdir" \ - -DSTLINK_MODPROBED_DIR="%_modprobedir" \ +%cmake -DSTLINK_UDEV_RULES_DIR="%{_udevrulesdir}" \ + -DSTLINK_MODPROBED_DIR="%{_modprobedir}" \ -DCMAKE_EXE_LINKER_FLAGS="-pie" %cmake_build @@ -82,25 +79,28 @@ # remove static lib sdi rm %{buildroot}%{_libdir}/*.a +# Upstream installs a second copy of the shared library into bindir via +# RUNTIME_DEPENDENCY_SET (meant for Windows DLL deployment); drop the +# duplicates, the libdir copies are the packaged ones. +rm %{buildroot}%{_bindir}/libstlink.so* %suse_update_desktop_file -r stlink-gui Development Debugger %pre # 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" || : + [ ! -f "%{_sysconfdir}/modprobe.d/${_f}.rpmsave" ] || \ + mv -f "%{_sysconfdir}/modprobe.d/${_f}.rpmsave" "%{_sysconfdir}/modprobe.d/${_f}.rpmsave.old" || : done %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}" || : + [ ! -f "%{_sysconfdir}/modprobe.d/${_f}.rpmsave" ] || \ + mv -fv "%{_sysconfdir}/modprobe.d/${_f}.rpmsave" "%{_sysconfdir}/modprobe.d/${_f}" || : done %post -n libstlink%{sover} -p /sbin/ldconfig - %postun -n libstlink%{sover} -p /sbin/ldconfig %files @@ -110,9 +110,10 @@ %{_udevrulesdir}/49-stlink* %dir %{_modprobedir} %{_modprobedir}/stlink_v1.conf -%{_mandir}/man1/st-flash.1* -%{_mandir}/man1/st-info.1* -%{_mandir}/man1/st-util.1* +%{_mandir}/man1/st-flash.1%{?ext_man} +%{_mandir}/man1/st-info.1%{?ext_man} +%{_mandir}/man1/st-server.1%{?ext_man} +%{_mandir}/man1/st-util.1%{?ext_man} %files -n libstlink%{sover} %{_libdir}/libstlink.so.1* ++++++ stlink-1.8.0.tar.gz -> stlink-1.9.0.tar.gz ++++++ ++++ 29460 lines of diff (skipped)
