public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3.9] f43: Conditionalize rpmwheels based on Fedora version
@ 2026-07-02 14:04 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-07-02 14:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python3.9
Branch : f43
Commit : 9caea867f4815c8539ebb3e3705d726017eaac21
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-05-05T11:51:23+02:00
Stats : +13/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python3.9/c/9caea867f4815c8539ebb3e3705d726017eaac21?branch=f43
Log:
Conditionalize rpmwheels based on Fedora version
---
diff --git a/python3.9.spec b/python3.9.spec
index a816687..9dea4a6 100644
--- a/python3.9.spec
+++ b/python3.9.spec
@@ -2,6 +2,15 @@
# Top-level metadata
# ==================
+# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
+# Uses upstream bundled prebuilt wheels otherwise.
+# pip 26.1 no longer supports Python 3.9, so rpmwheels are disabled on Fedora 45+.
+%if 0%{?fedora} >= 45
+%bcond_with rpmwheels
+%else
+%bcond_without rpmwheels
+%endif
+
%global pybasever 3.9
# pybasever without the dot:
@@ -60,7 +69,11 @@ Release: 9%{?dist}
# typing-extensions: PSF-2.0
# wheel: MIT
# zipp: MIT
+%if %{with rpmwheels}
+License: Python-2.0.1
+%else
License: Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND MIT AND MPL-2.0 AND PSF-2.0 AND (Apache-2.0 OR BSD-2-Clause)
+%endif
# ==================================
# Conditionals controlling the build
@@ -104,11 +117,6 @@ License: Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC A
# the two packages are built with wheels to get around the issue.
%bcond_with bootstrap
-# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
-# Uses upstream bundled prebuilt wheels otherwise.
-# pip 26.1 no longer supports Python 3.9.
-%bcond_with rpmwheels
-
# Expensive optimizations (mainly, profile-guided optimizations)
%bcond_without optimizations
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:04 [rpms/python3.9] f43: Conditionalize rpmwheels based on Fedora version Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox