diff --git a/_multibuild b/_multibuild
new file mode 100644
index 0000000..683307d
--- /dev/null
+++ b/_multibuild
@@ -0,0 +1,3 @@
+
+ python
+
diff --git a/libseccomp.changes b/libseccomp.changes
index df01158..d3966bc 100644
--- a/libseccomp.changes
+++ b/libseccomp.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Jun 29 13:05:06 UTC 2022 - Robert Frohl
+
+- Use multibuild to get python3 support back
+
-------------------------------------------------------------------
Sat Apr 30 16:42:48 UTC 2022 - Jan Engelhardt
diff --git a/libseccomp.spec b/libseccomp.spec
index d69f92a..a22a453 100644
--- a/libseccomp.spec
+++ b/libseccomp.spec
@@ -17,6 +17,7 @@
%define lname libseccomp2
+%global flavor @BUILD_FLAVOR@%{nil}
Name: libseccomp
Version: 2.5.4
Release: 0
@@ -34,8 +35,7 @@ BuildRequires: automake >= 1.11
BuildRequires: fdupes
BuildRequires: libtool >= 2
BuildRequires: pkgconfig
-%bcond_with python
-%if 0%{?with python}
+%if "%{flavor}" == "python"
BuildRequires: python-rpm-macros
BuildRequires: python3-Cython >= 0.29
%endif
@@ -104,7 +104,7 @@ echo 'int main () { return 0; }' >tests/52-basic-load.c
autoreconf -fiv
%configure \
--includedir="%_includedir/%name" \
-%if %{with python}
+%if "%{flavor}" == "python"
--enable-python \
%endif
--disable-static \
@@ -139,7 +139,7 @@ make check
%_bindir/scmp_sys_resolver
%_mandir/man1/scmp_sys_resolver.1*
-%if %{with python}
+%if "%{flavor}" == "python"
%files -n python3-seccomp
%python3_sitearch/seccomp-%version-py*.egg-info
%python3_sitearch/seccomp.cpython*.so