public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-varlink] rawhide: Use the deprecated PEP-0621 license format on el10; Fixes: RHBZ#2397247
@ 2026-11-04 20:13 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-11-04 20:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-varlink
Branch : rawhide
Commit : 43136e04376a63dd597801469ba92e9a8c2a7d28
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2026-11-04T12:13:13-08:00
Stats : +8/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-varlink/c/43136e04376a63dd597801469ba92e9a8c2a7d28?branch=rawhide
Log:
Use the deprecated PEP-0621 license format on el10; Fixes: RHBZ#2397247
---
diff --git a/python-varlink.spec b/python-varlink.spec
index 920f906..fee29aa 100644
--- a/python-varlink.spec
+++ b/python-varlink.spec
@@ -30,6 +30,14 @@ Summary: %summary
# https://github.com/varlink/python/pull/97
sed -i '1{/^#!/d}' varlink/tests/test_*.py
+# setuptools in el10 still expects the now-deprecated PEP-0621 license format
+%if 0%{?el10}
+sed \
+ -e 's/^license = .*$/license = { file = "LICENSE.txt"}/' \
+ -e '/license-files = /d' \
+ -i pyproject.toml
+%endif
+
%generate_buildrequires
# https://github.com/varlink/python/issues/81
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_VARLINK=%{version}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 20:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 20:13 [rpms/python-varlink] rawhide: Use the deprecated PEP-0621 license format on el10; Fixes: RHBZ#2397247 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox