public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pystemd] rawhide: Fix EPEL 10 build
Date: Wed, 18 Nov 2026 00:32:46 GMT [thread overview]
Message-ID: <179496196602.1.8455725048457883149.rpms-python-pystemd-ba1043ed059e@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-18 0:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179496196602.1.8455725048457883149.rpms-python-pystemd-ba1043ed059e@fedoraproject.org \
--to=dcavalca@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox