public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ssh-python] rawhide: Do not override RPM compiler flags - fixes build on non-LTO RISC-V
@ 2026-10-08 13:07 Marcin Juszkiewicz
0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-10-08 13:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-ssh-python
Branch : rawhide
Commit : 47ca624d92397ea93f75317a1cb0cf0df25fc0b9
Author : Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Date : 2026-10-08T11:44:37+02:00
Stats : +7/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-ssh-python/c/47ca624d92397ea93f75317a1cb0cf0df25fc0b9?branch=rawhide
Log:
Do not override RPM compiler flags - fixes build on non-LTO RISC-V
---
diff --git a/python-ssh-python.spec b/python-ssh-python.spec
index b58d022..5428435 100644
--- a/python-ssh-python.spec
+++ b/python-ssh-python.spec
@@ -4,7 +4,7 @@
Name: python-%{modname}
Version: 1.1.1
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Bindings for libssh C library
License: GPL-2.0-or-later
@@ -44,6 +44,9 @@ Python 3 version.
# No bundled libs
rm -vrf libssh krb5-1.21.3 zlib-1.2.11
sed -i -r 's:build_ssh[(].*:pass:' setup.py
+# Do not override RPM compiler flags - upstream -g0 -s strips debug info
+# It is a problem on RISC-V where we have LTO disabled (slow builders).
+sed -i "s/\['-O2', '-g0', '-s'\]/None/" setup.py
# Remove pre-generated sources
rm $(grep -rl '/\* Generated by Cython')
@@ -84,6 +87,9 @@ Summary: %{summary} documentation
%doc examples/ _build/html/
%changelog
+* Thu Oct 08 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.1.1-12
+- Do not override RPM compiler flags - fixes build on non-LTO RISC-V
+
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 1.1.1-11
- Rebuilt for Python 3.15.0b4 ABI change
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 13:07 [rpms/python-ssh-python] rawhide: Do not override RPM compiler flags - fixes 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