From 447c281d8c792d52ba2020d2ad6c5326815d9cedbd0178ba4756d66cc70f32b7 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] - 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