Fix pip install build dependencies failure when compiling policycoreutils

This commit is contained in:
zhangzikang1992 2024-04-16 14:15:48 +08:00
parent 5c6c2213c4
commit 886d93c7fd

View File

@ -3,7 +3,7 @@
Name: policycoreutils Name: policycoreutils
Version: 3.5 Version: 3.5
Release: 2 Release: 3
Summary: Policy core utilities of selinux Summary: Policy core utilities of selinux
License: GPLv2 License: GPLv2
URL: https://github.com/SELinuxProject URL: https://github.com/SELinuxProject
@ -21,7 +21,7 @@ Patch2: backport-setfiles-avoid-unsigned-integer-underflow.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: pam-devel libsepol-static >= %{version} libsemanage-static >= %{version} libselinux-devel >= %{version} libcap-devel audit-libs-devel gettext 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: 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 Requires: libsepol >= 3.3 libselinux-utils util-linux grep gawk diffutils rpm sed coreutils
Provides: %{name}-restorecond = %{version}-%{release} Provides: %{name}-restorecond = %{version}-%{release}
@ -258,6 +258,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \
%{_mandir}/* %{_mandir}/*
%changelog %changelog
* Tue Apr 16 2024 zhangzikang <zhangzikang@kylinos.cn> - 3.5-3
- add BuildRequires python3-wheel, fix compilation error
* Wed Mar 20 2024 yixiangzhike <yixiangzhike007@163.com> - 3.5-2 * Wed Mar 20 2024 yixiangzhike <yixiangzhike007@163.com> - 3.5-2
- backport patch from upstream to avoid unsigned integer underflow - backport patch from upstream to avoid unsigned integer underflow