From 78858602a3f97b5b95eec200d9c3590a0a2bd549 Mon Sep 17 00:00:00 2001 From: zhangzikang1992 Date: Tue, 16 Apr 2024 14:15:48 +0800 Subject: [PATCH] Fix pip install build dependencies failure when compiling policycoreutils (cherry picked from commit 886d93c7fd64626ed069c675f34e7a2bb1b338cc) --- policycoreutils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 1c0f216..1d1afa3 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -3,7 +3,7 @@ Name: policycoreutils Version: 3.5 -Release: 2 +Release: 3 Summary: Policy core utilities of selinux License: GPLv2 URL: https://github.com/SELinuxProject @@ -21,7 +21,7 @@ Patch2: backport-setfiles-avoid-unsigned-integer-underflow.patch BuildRequires: gcc BuildRequires: pam-devel libsepol-static >= %{version} libsemanage-static >= %{version} libselinux-devel >= %{version} libcap-devel audit-libs-devel gettext BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel python3-devel libcap-ng-devel -BuildRequires: systemd systemd-units python3-pip +BuildRequires: systemd systemd-units python3-pip python3-wheel Requires: libsepol >= 3.3 libselinux-utils util-linux grep gawk diffutils rpm sed coreutils Provides: %{name}-restorecond = %{version}-%{release} @@ -258,6 +258,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ %{_mandir}/* %changelog +* Tue Apr 16 2024 zhangzikang - 3.5-3 +- add BuildRequires python3-wheel, fix compilation error + * Wed Mar 20 2024 yixiangzhike - 3.5-2 - backport patch from upstream to avoid unsigned integer underflow -- Gitee