[packages/python3-cryptography] use %__unzip macro, make unzipping less verbose and more short-circuit friendly

atler atler at pld-linux.org
Sun Mar 16 15:10:37 CET 2025


commit 5fbe8e2cc8522d5b74c7ed6cb55351a3959d9e7e
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Mar 16 14:27:11 2025 +0100

    use %__unzip macro, make unzipping less verbose and more short-circuit friendly

 python3-cryptography.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python3-cryptography.spec b/python3-cryptography.spec
index 80b953c..a5b9209 100644
--- a/python3-cryptography.spec
+++ b/python3-cryptography.spec
@@ -124,7 +124,7 @@ export CFLAGS="%{rpmcflags}"
 %py3_build_pyproject
 
 %if %{with tests}
-unzip build-3/*.whl -d build-3/test-path
+%__unzip -qo build-3/*.whl -d build-3/test-path
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTEST_PLUGINS="pytest_benchmark.plugin" \
 PYTHONPATH=$(pwd)/build-3/test-path \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-cryptography.git/commitdiff/5fbe8e2cc8522d5b74c7ed6cb55351a3959d9e7e



More information about the pld-cvs-commit mailing list