From a452966f78e48aabbcd03ed6729914a679584261ab36a9ea07adecf4bc90e05e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 17 Jul 2025 12:51:04 +0000 Subject: [PATCH 1/2] cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailmanclient?expand=0&rev=39 --- python-mailmanclient.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index 4667da8..d7dea7c 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-mailmanclient # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From db90a7eab19c276898300750091a43e67468a6104932d7a64f41c0307de637a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 29 Dec 2025 11:00:46 +0000 Subject: [PATCH 2/2] - If possible build for primary_python (fixes Leap 16.0) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailmanclient?expand=0&rev=40 --- python-mailmanclient.changes | 5 +++++ python-mailmanclient.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/python-mailmanclient.changes b/python-mailmanclient.changes index 96ea138..a6f4eaa 100644 --- a/python-mailmanclient.changes +++ b/python-mailmanclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 19 10:17:10 UTC 2025 - Andreas Schneider + +- If possible build for primary_python (fixes Leap 16.0) + ------------------------------------------------------------------- Thu Feb 29 20:26:33 UTC 2024 - Ben Greiner diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index d7dea7c..e427b43 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-mailmanclient # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 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 @@ -16,7 +16,15 @@ # +# Always only build one flavor +%if 0%{?sle_version} && 0%{?sle_version} < 160000 %{?sle15_python_module_pythons} +%elif %{defined primary_python} +%define pythons %{primary_python} +%else +%define pythons python3 +%endif + Name: python-mailmanclient Version: 3.3.5 Release: 0