public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-kiwisolver] rawhide: Fix build with python-setuptools_scm 10+ (rhbz#2453822)
@ 2026-06-04  9:41 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-04  9:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-kiwisolver
Branch : rawhide
Commit : 031db4aa68e28284b53c061926cbf8bfb1b28fd2
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-06-04T09:27:56+00:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-kiwisolver/c/031db4aa68e28284b53c061926cbf8bfb1b28fd2?branch=rawhide

Log:
Fix build with python-setuptools_scm 10+ (rhbz#2453822)

---
diff --git a/python-kiwisolver.spec b/python-kiwisolver.spec
index 997f0d5..661b0dc 100644
--- a/python-kiwisolver.spec
+++ b/python-kiwisolver.spec
@@ -52,6 +52,11 @@ Provides:       bundled(loki-lib)
 
 %install
 %pyproject_install
+# Remove the leftover from setuptools_scm that's not intended to be packaged
+# Per docs we should be able to suppress this via an envvar, but it doesn't work
+# Upstream issue: https://github.com/pypa/setuptools-scm/issues/1364
+rm %{buildroot}%{python3_sitearch}/src/version.h
+
 %pyproject_save_files -l %{srcname}
 
 %check

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

only message in thread, other threads:[~2026-06-04  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04  9:41 [rpms/python-kiwisolver] rawhide: Fix build with python-setuptools_scm 10+ (rhbz#2453822) Karolina Surma

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