public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-kiwisolver] rawhide: Fix build with python-setuptools_scm 10+ (rhbz#2453822)
Date: Thu, 04 Jun 2026 09:41:03 GMT	[thread overview]
Message-ID: <178056606397.1.2870307081417920324.rpms-python-kiwisolver-031db4aa68e2@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-04  9:41 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=178056606397.1.2870307081417920324.rpms-python-kiwisolver-031db4aa68e2@fedoraproject.org \
    --to=ksurma@redhat.com \
    --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