From 7e1c6aa9de39023875fc95219c2d59c8435790da3fa0525a55c5d037d7e8ee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 9 Jun 2025 08:22:30 +0000 Subject: [PATCH 1/2] Accepting request 1283667 from home:glaubitz:branches:devel:languages:python - Update to 2.6.3 * This release updates protobufs to v2.6.7, and fixes a small error in admin message handling (the prior code was not properly requesting acknowledgements). - Use Python 3.11 on SLE-15 by default OBS-URL: https://build.opensuse.org/request/show/1283667 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meshtastic?expand=0&rev=13 --- meshtastic-2.6.2.tar.gz | 3 --- meshtastic-2.6.3.tar.gz | 3 +++ python-meshtastic.changes | 9 +++++++++ python-meshtastic.spec | 3 ++- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 meshtastic-2.6.2.tar.gz create mode 100644 meshtastic-2.6.3.tar.gz diff --git a/meshtastic-2.6.2.tar.gz b/meshtastic-2.6.2.tar.gz deleted file mode 100644 index c86a0f4..0000000 --- a/meshtastic-2.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd1b9ed078f1f587ee05dfe0f0ea09ca930ba1c7fed9b91032de95545d330707 -size 265456 diff --git a/meshtastic-2.6.3.tar.gz b/meshtastic-2.6.3.tar.gz new file mode 100644 index 0000000..7c51194 --- /dev/null +++ b/meshtastic-2.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6891b84d1d9f47962a33989524a992b9162f928a7dfebd3b9c675b8f1619f35b +size 265566 diff --git a/python-meshtastic.changes b/python-meshtastic.changes index 017325b..bf5678f 100644 --- a/python-meshtastic.changes +++ b/python-meshtastic.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jun 6 12:55:01 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.6.3 + * This release updates protobufs to v2.6.7, and fixes a small + error in admin message handling (the prior code was not + properly requesting acknowledgements). +- Use Python 3.11 on SLE-15 by default + ------------------------------------------------------------------- Fri Apr 25 06:54:57 UTC 2025 - Adrian Schröter diff --git a/python-meshtastic.spec b/python-meshtastic.spec index f8f7981..ac4b8e6 100644 --- a/python-meshtastic.spec +++ b/python-meshtastic.spec @@ -16,8 +16,9 @@ # +%{?sle15_python_module_pythons} Name: python-meshtastic -Version: 2.6.2 +Version: 2.6.3 Release: 0 Summary: A Python client for use with Meshtastic devices License: GPL-3.0-only From 1eb7081f30df6911cd1285cc153888b6e42c79353875bd4ff0be425f33da7b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 9 Jun 2025 12:30:22 +0000 Subject: [PATCH 2/2] - Convert to libalternatives OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meshtastic?expand=0&rev=14 --- python-meshtastic.changes | 5 +++++ python-meshtastic.spec | 18 +++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/python-meshtastic.changes b/python-meshtastic.changes index bf5678f..ad96827 100644 --- a/python-meshtastic.changes +++ b/python-meshtastic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 9 12:29:57 UTC 2025 - Markéta Machová + +- Convert to libalternatives + ------------------------------------------------------------------- Fri Jun 6 12:55:01 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-meshtastic.spec b/python-meshtastic.spec index ac4b8e6..6d0398f 100644 --- a/python-meshtastic.spec +++ b/python-meshtastic.spec @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-meshtastic Version: 2.6.3 @@ -29,8 +30,10 @@ BuildRequires: %{python_module flit-core} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-PyYAML >= 6.0.1 Requires: python-bleak >= 0.22.3 Requires: python-packaging @@ -39,8 +42,6 @@ Requires: python-pypubsub >= 4.0.3 Requires: python-pyserial >= 3.5 Requires: python-requests >= 2.31.0 Requires: python-tabulate >= 0.9.0 -Requires(post): alts -Requires(postun): alts Recommends: python-dbus-fast BuildArch: noarch %python_subpackages @@ -61,15 +62,10 @@ A Python client for use with Meshtastic devices. This small library (and example %python_clone -a %{buildroot}%{_bindir}/mesh-tunnel %python_clone -a %{buildroot}%{_bindir}/meshtastic -%post -%python_install_alternative mesh-analysis -%python_install_alternative mesh-tunnel -%python_install_alternative meshtastic - -%postun -%python_uninstall_alternative mesh-analysis -%python_uninstall_alternative mesh-tunnel -%python_uninstall_alternative meshtastic +%pre +%python_libalternatives_reset_alternative mesh-analysis +%python_libalternatives_reset_alternative mesh-tunnel +%python_libalternatives_reset_alternative meshtastic %files %{python_files} %license LICENSES/GPL-3.0-only.txt