File project.diff of Package python-service_identity

--- python-service_identity.spec.orig
+++ python-service_identity.spec
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without test
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oname   service_identity
 Name:           python-service_identity
@@ -67,8 +69,10 @@ relevant RFCs too.
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
+%endif
 
 %files %{python_files}
 %license LICENSE