Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmodbuspp for openSUSE:Factory checked in at 2026-10-24 22:05:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmodbuspp (Old) and /work/SRC/openSUSE:Factory/.libmodbuspp.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmodbuspp" Sat Oct 24 22:05:31 2026 rev:2 rq:1392238 version:1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libmodbuspp/libmodbuspp.changes 2020-12-29 15:48:50.048374985 +0100 +++ /work/SRC/openSUSE:Factory/.libmodbuspp.new.2252680/libmodbuspp.changes 2026-10-24 22:07:31.640908726 +0200 @@ -1,0 +2,21 @@ +Fri Oct 23 16:34:20 UTC 2026 - Martin Pluskal <[email protected]> + +- Fix upgrade path from 0.2.3: the shlib subpackage was renamed + libmodbuspp1_0-0 to libmodbuspp1 with unchanged SONAME, so add + Provides and Obsoletes for the old name. +- Raise pkgconfig(libmodbus) build floor to >= 3.1.6 as required + by upstream's CMakeLists. +- Spec cleanup: drop Group tags and duplicate License tags. + +------------------------------------------------------------------- +Wed Mar 11 11:13:30 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 1.2 + * Relicensed from LGPLv3 to LGPL-2.1-or-later. This change + improves compatibility with locked-down embedded systems. +- Update to version 1.1 + * https://github.com/epsilonrt/libmodbuspp/compare/v1.0...v1.1 +- Update to version 1.0 + * https://github.com/epsilonrt/libmodbuspp/compare/v0.2.3...v1.0 + +------------------------------------------------------------------- Old: ---- libmodbuspp-0.2.3.tar.gz New: ---- libmodbuspp-1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmodbuspp.spec ++++++ --- /var/tmp/diff_new_pack.CsTn9M/_old 2026-10-24 22:07:32.304936498 +0200 +++ /var/tmp/diff_new_pack.CsTn9M/_new 2026-10-24 22:07:32.305936540 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmodbuspp # -# Copyright (c) 2020, Martin Hauke <[email protected]> +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,33 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# Copyright (c) 2020-2026, Martin Hauke <[email protected]> +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + -%define sover 1_0-0 +%define sover 1 Name: libmodbuspp -Version: 0.2.3 +Version: 1.2 Release: 0 Summary: C++ wrapper for the libmodbus library -License: LGPL-3.0-or-later -Group: System/Libraries +License: LGPL-2.1-or-later URL: https://github.com/epsilonrt/libmodbuspp Source: https://github.com/epsilonrt/libmodbuspp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRequires: pkgconfig(libmodbus) >= 3.1.4 +BuildRequires: pkgconfig(libmodbus) >= 3.1.6 +BuildRequires: pkgconfig(nlohmann_json) >= 3.2.0 %description A C++ wrapper for the libmodbus library, to send/receive data @@ -36,8 +47,9 @@ %package -n libmodbuspp%{sover} Summary: C++ wrapper for the libmodbus library -License: LGPL-3.0-or-later -Group: System/Libraries +# shlib package renamed libmodbuspp1_0-0 -> libmodbuspp1 at 1.2 (same SONAME .so.1) +Provides: libmodbuspp1_0-0 = %{version}-%{release} +Obsoletes: libmodbuspp1_0-0 < %{version}-%{release} %description -n libmodbuspp%{sover} A C++ wrapper for the libmodbus library, to send/receive data @@ -46,8 +58,6 @@ %package -n libmodbuspp-devel Summary: Development files for the libmodbuspp library -License: LGPL-3.0-or-later -Group: Development/Libraries/C and C++ Requires: libmodbuspp%{sover} = %{version} %description -n libmodbuspp-devel @@ -59,11 +69,12 @@ applications that want to make use of libmodbuspp. %prep -%setup -q +%autosetup -p1 sed -i 's/\r$//' AUTHORS %build %cmake \ + -DMODBUSPP_USE_EXTERNAL_JSON=ON \ -DINSTALL_LIB_DIR=%{_libdir} \ -DINSTALL_CMAKE_DIR=%{_libdir}/cmake \ -DCMAKE_SHARED_LINKER_FLAGS="" @@ -75,8 +86,7 @@ rm %{buildroot}%{_datadir}/modbuspp/COPYING.LESSER rm -Rf %{buildroot}%{_datadir}/codelite/ -%post -n libmodbuspp%{sover} -p /sbin/ldconfig -%postun -n libmodbuspp%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libmodbuspp%{sover} %files -n libmodbuspp%{sover} %license COPYING.LESSER @@ -84,8 +94,9 @@ %{_libdir}/libmodbuspp.so.1* %files -n libmodbuspp-devel +%{_includedir}/modbuspp.h %{_includedir}/modbuspp %{_libdir}/libmodbuspp.so %{_libdir}/cmake/modbuspp/ -%{_libdir}/pkgconfig/libmodbuspp.pc +%{_libdir}/pkgconfig/modbuspp.pc ++++++ libmodbuspp-0.2.3.tar.gz -> libmodbuspp-1.2.tar.gz ++++++ ++++ 23428 lines of diff (skipped)
