From bab7e625eedf1dc3fafcc8d53b79dabc234c38eb Mon Sep 17 00:00:00 2001 From: Hugel <2712504175@qq.com> Date: Thu, 29 Oct 2020 15:41:18 +0800 Subject: [PATCH] remove the dependency on python2 --- libsemanage.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsemanage.spec b/libsemanage.spec index 3d4f0be..e14d492 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -3,14 +3,14 @@ Name: libsemanage Version: 3.1 -Release: 2 +Release: 3 License: LGPLv2+ Summary: SELinux binary policy manipulation library URL: https://github.com/SELinuxProject/selinux/wiki Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libsemanage-3.1.tar.gz Source1: semanage.conf -BuildRequires: gcc python3-devel python2-devel bison flex bzip2-devel audit-libs-devel +BuildRequires: gcc python3-devel bison flex bzip2-devel audit-libs-devel BuildRequires: libselinux-devel >= %{libselinux_version} swig libsepol-devel >= %{libsepol_version} BuildRequires: gdb @@ -99,6 +99,9 @@ ln -sf %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so %changelog +* Thu Oct 29 2020 Hugel - 3.1-3 +- remove the dependency on python2 + * Mon Aug 17 2020 wangchen - 3.1-2 - remove ustr -- Gitee