delete BuildRequires python2-devel

This commit is contained in:
a869920004@163.com 2020-10-27 11:17:33 +08:00 committed by huangzq6
parent ece8fff8c7
commit 1c0510376b

View File

@ -3,7 +3,7 @@
Name: libselinux Name: libselinux
Version: 3.1 Version: 3.1
Release: 1 Release: 2
License: Public Domain License: Public Domain
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Url: https://github.com/SELinuxProject/selinux/wiki Url: https://github.com/SELinuxProject/selinux/wiki
@ -12,7 +12,7 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/li
#Patch0: libselinux-Use-Python-distutils-to-install-SELinux-p.patch #Patch0: libselinux-Use-Python-distutils-to-install-SELinux-p.patch
BuildRequires: gcc python3-devel systemd swig pcre2-devel xz-devel BuildRequires: gcc python3-devel systemd swig pcre2-devel xz-devel
BuildRequires: python2-devel ruby-devel libsepol-static BuildRequires: ruby-devel libsepol-static
Requires: libsepol >= %{libsepol_version} pcre2 Requires: libsepol >= %{libsepol_version} pcre2
Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138 Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138
@ -128,6 +128,9 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
%{_mandir}/ru/man8/* %{_mandir}/ru/man8/*
%changelog %changelog
* Tue Oct 27 2020 gaoyusong <gaoyusong1@huawei.com> - 3.1-2
- delete BuildRequires python2-devel
* Fri Jul 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1-1 * Fri Jul 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1-1
- update to 3.1; delete python2-libselinux - update to 3.1; delete python2-libselinux