diff --git a/.files b/.files
index adda8b1..d3c2b97 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index d1e8c42..97f3203 100644
--- a/.rev
+++ b/.rev
@@ -33,4 +33,12 @@ Also a dep of fastapi (https://repology.org/project/python:fastapi/versions) and
1042468
+
+ 5ead1c8c41c4dde194f5635650b14529
+ 0.0.5
+
+ dimstar_suse
+
+ 1056062
+
diff --git a/python-python-multipart-no-six.patch b/python-python-multipart-no-six.patch
index 2e130e1..c46dcc1 100644
--- a/python-python-multipart-no-six.patch
+++ b/python-python-multipart-no-six.patch
@@ -125,3 +125,15 @@ Index: python-multipart-0.0.5/multipart/exceptions.py
Base64Error = binascii.Error
-else: # pragma: no cover
- Base64Error = TypeError
+Index: python-multipart-0.0.5/setup.py
+===================================================================
+--- python-multipart-0.0.5.orig/setup.py
++++ python-multipart-0.0.5/setup.py
+@@ -25,7 +25,6 @@ setup(name='python-multipart',
+ platforms='any',
+ zip_safe=False,
+ install_requires=[
+- 'six>=1.4.0',
+ ],
+ tests_require=[
+ 'pytest',
diff --git a/python-python-multipart.changes b/python-python-multipart.changes
index 157b1d9..1563bb2 100644
--- a/python-python-multipart.changes
+++ b/python-python-multipart.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Jan 4 21:17:38 UTC 2023 - Ben Greiner
+
+- Really don't require six
+- Move to PEP517 build
+
+-------------------------------------------------------------------
Mon Dec 12 16:51:23 UTC 2022 - pgajdos@suse.com
- do not require six
diff --git a/python-python-multipart.spec b/python-python-multipart.spec
index 9761ffb..b4ca0ae 100644
--- a/python-python-multipart.spec
+++ b/python-python-multipart.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-python-multipart
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,15 +29,15 @@ Patch0: support-pyyaml-6.patch
Patch1: python-python-multipart-no-mock.patch
# https://github.com/andrew-d/python-multipart/commit/c54ad6006bacc77623864ec8e5c96bfd32230e01
Patch2: python-python-multipart-no-six.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
-BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
-Requires: python-six >= 1.4.0
BuildArch: noarch
%python_subpackages
@@ -49,10 +49,10 @@ A streaming multipart parser for Python.
%autosetup -p1 -n python-multipart-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +62,6 @@ A streaming multipart parser for Python.
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/multipart
-%{python_sitelib}/python_multipart-*.egg-info
+%{python_sitelib}/python_multipart-%{version}.dist-info
%changelog