Accepting request 1324687 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1324687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailman-hyperkitty?expand=0&rev=11
This commit is contained in:
2025-12-29 14:17:44 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 19 07:15:22 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- If possible build for primary_python (fixes Leap 16.0)
-------------------------------------------------------------------
Thu Feb 29 20:11:12 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mailman-hyperkitty
#
# Copyright (c) 2024 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,11 +16,13 @@
#
# Always only build one flavor: primary python for TW, python311 from the SLE15 python module for 15.x
%if 0%{?suse_version} >= 1550
%define pythons python3
%else
# 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
%global mypython %pythons
%global mypython_sitelib %{expand:%%{%{mypython}_sitelib}}