diff --git a/python-python-jose.changes b/python-python-jose.changes index 44fa840..59c665f 100644 --- a/python-python-jose.changes +++ b/python-python-jose.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 7 09:58:08 UTC 2024 - Daniel Garcia + +- Make python-pycryptodome dependency only required for Factory. + ------------------------------------------------------------------- Mon May 6 07:11:18 UTC 2024 - Daniel Garcia diff --git a/python-python-jose.spec b/python-python-jose.spec index 3e5d2cb..1c4e8b4 100644 --- a/python-python-jose.spec +++ b/python-python-jose.spec @@ -61,7 +61,11 @@ Requires: python-pyasn1 Requires: python-rsa BuildArch: noarch %if %{with test} +# pycryptodome is needed just for one test added in CVE-2024-33663. +# This package is not in Leap, so do not require for other versions. +%if 0%{?suse_version} > 1600 BuildRequires: %{python_module pycryptodome} +%endif BuildRequires: %{python_module pytest} %if %{with testcryptography} BuildRequires: %{python_module python-jose-cryptography = %{version}}