From d1e4fc22ec34acfe6dbce42f1c54cff120c2798d Mon Sep 17 00:00:00 2001 From: zgzxx Date: Tue, 25 Jul 2023 15:01:38 +0800 Subject: [PATCH] add buildrequires python3-setuptools and python3-wheel for build error --- libselinux.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index c8dfcf8..a12fc3d 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -3,7 +3,7 @@ Name: libselinux Version: 3.5 -Release: 1 +Release: 2 License: Public Domain Summary: SELinux library and simple utilities Url: https://github.com/SELinuxProject/selinux/wiki @@ -12,7 +12,7 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/ Patch9000: do-malloc-trim-after-load-policy.patch BuildRequires: gcc python3-devel systemd swig pcre2-devel xz-devel -BuildRequires: ruby-devel libsepol-static python3-pip +BuildRequires: ruby-devel libsepol-static python3-pip python3-setuptools python3-wheel Requires: libsepol >= %{libsepol_version} pcre2 Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138 @@ -128,6 +128,9 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist %{_mandir}/ru/man8/* %changelog +* Tue Jul 25 2023 zhangguangzhi - 3.5-2 +- add buildrequires python3-setuptools and python3-wheel for build error + * Mon Jul 17 2023 zhangguangzhi - 3.5-1 - update version to 3.5 -- Gitee