File project.diff of Package python-cryptography

--- python-cryptography.spec.orig
+++ python-cryptography.spec
@@ -25,7 +25,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-%{?sle15_python_module_pythons}
+%global pythons python311
 Name:           python-cryptography%{psuffix}
 Version:        41.0.3
 Release:        0
@@ -61,8 +61,8 @@ BuildRequires:  rust >= 1.56.0
 BuildRequires:  zstd
 BuildRequires:  pkgconfig(libffi)
 # python-base is not enough, we need the _ssl module
-Requires:       python
-%requires_eq    python-cffi
+Requires:       python311
+%requires_eq    python311-cffi
 %if %{with test}
 BuildRequires:  %{python_module cryptography >= %{version}}
 BuildRequires:  %{python_module cryptography-vectors = %{version}}
openSUSE Build Service is sponsored by