From 3d4d6ecaae25ee2276d645da472506e6feb0881e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Nov 2023 10:29:12 +0800 Subject: [PATCH] Fix build with latest python-setuptools --- libselinux.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index 8f37007..3404847 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %define ruby_inc %(pkg-config --cflags ruby) Name: libselinux @@ -16,7 +16,7 @@ Patch0001: 0001-Use-SHA-2-instead-of-SHA-1.patch # Patch list end BuildRequires: gcc make BuildRequires: ruby-devel ruby libsepol-static >= %{version} swig pcre2-devel xz-devel -BuildRequires: python3 python3-devel python3-setuptools python3-pip +BuildRequires: python3 python3-devel python3-setuptools python3-pip python3-wheel BuildRequires: systemd Requires: libsepol >= %{version} Requires: pcre2 @@ -198,6 +198,9 @@ rm -f %{buildroot}%{abidir}/selinux.dump %{ruby_vendorarchdir}/selinux.so %changelog +* Wed Nov 01 2023 Funda Wang - 3.5-2 +- Fix build with latest python-setuptools + * Sat Feb 25 2023 Funda Wang - 3.5-1 - New version 3.5 -- Gitee