diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 8fe549b..abace5f 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f48892892f2dc28bdd9b192a835949ad4f31367af733ae8fe307906559501ec5 -size 26828 +oid sha256:87a186b02485c0679365ad5b32cedac388c224ed06a8fe440c060d9f536a22c4 +size 27120 diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index 0661646..8a3cfaf 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyOpenSSL # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,8 +43,9 @@ Requires: python-cffi Requires: (python-cryptography >= 41.0.5 with python-cryptography < 44) Provides: pyOpenSSL = %{version} Provides: pyopenssl = %{version}-%release +%if %{without test} BuildArch: noarch -%if %{with test} +%else BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 44} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pyOpenSSL >= %version}