File project.diff of Package python-wxPython

--- python-wxPython.spec.orig
+++ python-wxPython.spec
@@ -17,6 +17,7 @@
 
 
 %define         X_display ":98"
+%define flavor python3
 %bcond_without  test
 %bcond_without  syswx
 # We rebuild the ETG and SIP files for two reasons:
@@ -30,13 +31,6 @@
 %define wx_args --gtk3 -v
 %endif
 
-%global flavor @BUILD_FLAVOR@%{nil}
-%if "%flavor" == ""
-# factory-auto requires the main build_flavor to match the specfile name
-%define pprefix python
-%define python_module() no-build-without-multibuild-flavor
-ExclusiveArch:  donotbuild
-%else
 %define pprefix %flavor
 %if 0%{suse_version} >= 1599
 # Tumbleweed has a varying number of python3 flavors. The flavor
@@ -70,7 +64,6 @@ ExclusiveArch:  donotbuild
 %define pythons %{nil}
 %endif
 %endif
-%endif
 %if "%{shrink:%pythons}" == ""
 ExclusiveArch:  donotbuild
 %define python_module() %flavor-not-enabled-in-buildset-for-suse-%{?suse_version}
openSUSE Build Service is sponsored by