]> git.pld-linux.org Git - packages/python-cryptography.git/commitdiff
- disable python3 module build
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 10 Oct 2021 09:53:22 +0000 (11:53 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 10 Oct 2021 09:53:22 +0000 (11:53 +0200)
- disable tests for unsupported algorithms

python-cryptography.spec

index be3b4a907918d353f886267c28b6f492d7dd62b8..a64132404f4834e5da684a116d1bfc8cd6c91d76 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with    python3 # CPython 3.x module
 %bcond_without doc     # Sphinx documentation
 %bcond_without tests   # unit test
 
@@ -133,6 +133,10 @@ Dokumentacja API modułu cryptography.
 %setup -q -n cryptography-%{version} %{?with_tests:-a1}
 %patch0 -p1
 
+# Do not tests legacy, disabled by default algorithms
+# See man OSSL_PROVIDER-legacy(7)
+%{__rm} tests/hazmat/primitives/test_{arc4,blowfish,cast5,idea,seed}.py
+
 %if %{with tests}
 %{__mv} cryptography_vectors-%{version}/cryptography_vectors .
 %endif
This page took 0.067207 seconds and 4 git commands to generate.