File project.diff of Package python-Werkzeug

--- python-Werkzeug.spec.orig
+++ python-Werkzeug.spec
@@ -31,6 +31,11 @@ Source:         https://files.pythonhost
 # mark tests which require network access
 Patch0:         no-network-testing.patch
 BuildRequires:  %{python_module cryptography}
+%if 0%{?suse_version} >= 1550
+BuildRequires:  %{python_module dataclasses if %python-base < 3.7}
+%else
+BuildRequires:  %{python_module dataclasses}
+%endif
 BuildRequires:  %{python_module ephemeral-port-reserve}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest >= 6.2.4}
openSUSE Build Service is sponsored by