public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zeroconf] rawhide: fix build on non-LTO RISC-V
@ 2026-10-09 14:13 Marcin Juszkiewicz
  0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-10-09 14:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-zeroconf
Branch : rawhide
Commit : 3cc93fbeb0bb8638a6daa67fb5abbda58afa3846
Author : Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Date   : 2026-10-08T12:26:18+02:00
Stats  : +2/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-zeroconf/c/3cc93fbeb0bb8638a6daa67fb5abbda58afa3846?branch=rawhide

Log:
fix build on non-LTO RISC-V

---
diff --git a/python-zeroconf.spec b/python-zeroconf.spec
index d46c028..6a10ef7 100644
--- a/python-zeroconf.spec
+++ b/python-zeroconf.spec
@@ -34,6 +34,8 @@ rm -rf tests/benchmarks/
 sed -i '#_BENCHMARKS_DIR = "tests/benchmarks"#d' tests/conftest.py
 # We don't measure coverage in tests
 sed -Ei 's/--cov(-|=)[^ "]+//g' pyproject.toml
+# Remove upstream -O3 and -g0 flags so distro flags take effect
+sed -i 's/"-O3", "-g0"//' build_ext.py
 
 
 %generate_buildrequires

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

only message in thread, other threads:[~2026-10-09 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 14:13 [rpms/python-zeroconf] rawhide: fix build on non-LTO RISC-V Marcin Juszkiewicz

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