From 25b1c72361e0f1d2f9c3f66b28be3735a3126a14dceca00f83b5a6d76f46b175 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Thu, 4 Jan 2024 15:47:56 +0000 Subject: [PATCH] Accepting request 1136429 from home:bnavigator:branches:security:SELinux - The PEP517 python build requires setuptools OBS-URL: https://build.opensuse.org/request/show/1136429 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=168 --- libselinux-bindings.changes | 5 +++++ libselinux-bindings.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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