public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libcst] rawhide: Only build the library to fix build issue on ppc64le
@ 2026-11-19 2:36 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-11-19 2:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-libcst
Branch : rawhide
Commit : d096568170b932a6f3e0997466f2bb6cc76b2a34
Author : Davide Cavalca <dcavalca@fb.com>
Date : 2026-11-18T18:38:55-06:00
Stats : +5/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libcst/c/d096568170b932a6f3e0997466f2bb6cc76b2a34?branch=rawhide
Log:
Only build the library to fix build issue on ppc64le
---
diff --git a/rust-libcst.spec b/rust-libcst.spec
index 6a23ade..24c1dda 100644
--- a/rust-libcst.spec
+++ b/rust-libcst.spec
@@ -102,14 +102,17 @@ dos2unix --keepdate tests/fixtures/type_parameters.py
%cargo_generate_buildrequires
%build
-%cargo_build
+# We only build the library here because the binaries have unresolved Python
+# symbols and fail to link on ppc64le. This is due to the "py" feature enabling
+# pyo3/extension-module, which does not link libpython.
+%cargo_build -- --lib
%install
%cargo_install
%if %{with check}
%check
-%cargo_test
+%cargo_test -n
%endif
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-19 2:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 2:36 [rpms/rust-libcst] rawhide: Only build the library to fix build issue on ppc64le Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox