diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index 1cf7295..abcaecf 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 3 09:36:44 UTC 2024 - Ben Greiner + +- The PEP517 python build requires setuptools + ------------------------------------------------------------------- Thu Nov 30 16:41:34 UTC 2023 - Hu diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index dea98ee..63ebfd0 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -41,6 +41,7 @@ Patch6: python3.8-compat.patch Patch7: swig4_moduleimport.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: libselinux-devel = %{version} @@ -114,7 +115,7 @@ make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="/%{_lib}" PYTHON=$python %files %{python_files selinux} %{python_sitearch}/selinux -%{python_sitearch}/selinux-%{version}*-info +%{python_sitearch}/selinux-%{version}.dist-info %{python_sitearch}/_selinux* %files -n ruby-selinux