[packages/python3-adblock] define CARGO_BUILD_JOBS

atler atler at pld-linux.org
Wed Apr 14 18:41:08 CEST 2021


commit 48c86997dfe6a34681b9f04eee1f175a882dab00
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 14 18:40:00 2021 +0200

    define CARGO_BUILD_JOBS

 python3-adblock.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python3-adblock.spec b/python3-adblock.spec
index 70186fb..b612f66 100644
--- a/python3-adblock.spec
+++ b/python3-adblock.spec
@@ -55,6 +55,7 @@ EOF
 CARGO_HOME="$(pwd)/.cargo" \
 CARGO_NET_OFFLINE=true \
 CARGO_TERM_VERBOSE=true \
+%{?__jobs:CARGO_BUILD_JOBS="%{__jobs}"} \
 RUSTFLAGS="%{rpmrustflags}" \
 /usr/bin/maturin build --release --no-sdist \
 %ifarch x32
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-adblock.git/commitdiff/48c86997dfe6a34681b9f04eee1f175a882dab00



More information about the pld-cvs-commit mailing list