[packages/python3-ruff] - (try to) allow limiting cargo build jobs

qboosh qboosh at pld-linux.org
Sat Jul 12 18:30:50 CEST 2025


commit 7fab3843517ff27feb83f8605128b1338d1571ad
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 12 18:32:24 2025 +0200

    - (try to) allow limiting cargo build jobs

 python3-ruff.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python3-ruff.spec b/python3-ruff.spec
index 4e2c82d..ddd0c98 100644
--- a/python3-ruff.spec
+++ b/python3-ruff.spec
@@ -64,6 +64,7 @@ replace-with = "vendored-sources"
 EOF
 
 %build
+export CARGO_BUILD_JOBS="%{__jobs}"
 export CARGO_HOME="$(pwd)/.cargo"
 export CARGO_OFFLINE=true
 export RUSTFLAGS="%{rpmrustflags}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-ruff.git/commitdiff/7fab3843517ff27feb83f8605128b1338d1571ad



More information about the pld-cvs-commit mailing list