public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pystemd] rawhide: Fix EPEL 10 build
@ 2026-11-18  0:32 Davide Cavalca
  0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-11-18  0:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pystemd
Branch : rawhide
Commit : ba1043ed059eadf392dce95c1933ad429eca2dac
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2026-11-17T18:32:32-06:00
Stats  : +7/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pystemd/c/ba1043ed059eadf392dce95c1933ad429eca2dac?branch=rawhide

Log:
Fix EPEL 10 build

---
diff --git a/python-pystemd.spec b/python-pystemd.spec
index 01c8159..b6d14f5 100644
--- a/python-pystemd.spec
+++ b/python-pystemd.spec
@@ -17,6 +17,7 @@ BuildRequires:  gcc
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  python3-devel
 BuildRequires:  python3dist(pytest)
+BuildRequires:  sed
 
 %global _description %{expand:
 This library allows you to talk to systemd over D-Bus from Python,
@@ -37,6 +38,12 @@ Summary:        %{summary}
 %prep
 %autosetup -n %{pypi_name}-%{version} -p1
 
+%if 0%{?el10}
+# setuptools in el10 still expects the deprecated PEP 639 license format
+sed -i pyproject.toml \
+  -e 's/^license = .*$/license = { text = "LGPL-2.1+"}/' \
+  -e '/^license-files = .*$/d'
+%endif
 
 %generate_buildrequires
 # with -x t this pulls in too many optional deps like cstq and pytest-cov

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18  0:32 [rpms/python-pystemd] rawhide: Fix EPEL 10 build Davide Cavalca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox