File project.diff of Package python-pymilter
--- python-pymilter.spec.orig
+++ python-pymilter.spec
@@ -17,11 +17,10 @@
#
+%{?sle15_python_module_pythons}
+
# we don't want to provide private python extension libs
%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so)$
-# Python 2 module isn't building properly and we don't really need it right now anyway...
-%global skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymilter
Version: 1.0.5
Release: 0