Accepting request 1094093 from home:jsegitz:branches:security:SELinux

- Add explicit BuildRequires for python3-pip and python3-wheel on
  15.5, currently the macros don't do the right thing

OBS-URL: https://build.opensuse.org/request/show/1094093
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=157
This commit is contained in:
Johannes Segitz 2023-06-20 13:52:57 +00:00 committed by Git OBS Bridge
parent 68b4fddcd5
commit 74c2cb087e
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 20 13:34:39 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
- Add explicit BuildRequires for python3-pip and python3-wheel on
15.5, currently the macros don't do the right thing
-------------------------------------------------------------------
Thu Jun 1 11:50:33 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -59,9 +59,14 @@ Patch4: readv-proto.patch
# Make linking working even when default pkg-config doesnt provide -lpython<ver>
Patch5: python3.8-compat.patch
Patch6: swig4_moduleimport.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
%if 0%{?sle_version} == 150500 && 0%{?is_opensuse}
BuildRequires: python3-pip
BuildRequires: python3-wheel
%else
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
%endif
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
BuildRequires: python-rpm-macros
BuildRequires: python3-devel