policycoreutils/0007-Revert-libselinux-python-Use-system-Python3-build-mo.patch
Petr Lautrbach 254d17b34a SELinux userspace 3.11 release
Resolves: RHEL-179724
2026-07-10 17:52:48 +02:00

28 lines
774 B
Diff

From eeb5dbe746492dd4722745c5cf7ba2b46ac0a805 Mon Sep 17 00:00:00 2001
From: Vit Mojzis <vmojzis@redhat.com>
Date: Fri, 10 Jul 2026 13:20:24 +0200
Subject: [PATCH] Revert "libselinux,python: Use system Python3 build module"
This reverts commit e11e59675f6981e8b7cf990478887c9147b2b20a.
python3-build is not available in RHEL-10
---
python/sepolicy/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/sepolicy/Makefile b/python/sepolicy/Makefile
index 51812980..4a4a3512 100644
--- a/python/sepolicy/Makefile
+++ b/python/sepolicy/Makefile
@@ -14,6 +14,7 @@ BASHCOMPLETIONS=sepolicy-bash-completion.sh
all: python-build
python-build:
+ $(PYTHON) -m pip install build wheel setuptools
$(PYTHON) -m build --no-isolation --wheel .
clean:
--
2.53.0