diff --git a/_multibuild b/_multibuild
index 087b0f9..d8d93a5 100644
--- a/_multibuild
+++ b/_multibuild
@@ -4,4 +4,5 @@
python39
python310
python311
+ python312
diff --git a/python-wxPython.changes b/python-wxPython.changes
index ce2078c..4b0183f 100644
--- a/python-wxPython.changes
+++ b/python-wxPython.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Jan 15 16:29:26 UTC 2024 - Dominique Leuenberger
+
+- Enable python312 as valid multibuild flavor.
+
-------------------------------------------------------------------
Wed Dec 27 07:37:06 UTC 2023 - Antonio Larrosa
diff --git a/python-wxPython.spec b/python-wxPython.spec
index 11e84a2..e5746a3 100644
--- a/python-wxPython.spec
+++ b/python-wxPython.spec
@@ -1,7 +1,7 @@
#
-# spec file for package python-wxPython
+# spec file
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -57,6 +57,9 @@ ExclusiveArch: donotbuild
%if "%flavor" != "python311"
%define skip_python311 1
%endif
+%if "%flavor" != "python312"
+%define skip_python312 1
+%endif
%else
# SLE/Leap: python3 only
%if "%flavor" != "python3"