diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index b782141..4467f98 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 20 13:34:39 UTC 2023 - Johannes Segitz + +- 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 diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 33308a0..a3d2507 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -59,9 +59,14 @@ Patch4: readv-proto.patch # Make linking working even when default pkg-config doesn’t provide -lpython 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