Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package policycoreutils for openSUSE:Factory
checked in at 2026-02-16 13:40:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/policycoreutils (Old)
and /work/SRC/openSUSE:Factory/.policycoreutils.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "policycoreutils"
Mon Feb 16 13:40:53 2026 rev:87 rq:1333297 version:3.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/policycoreutils/policycoreutils.changes
2026-02-09 11:43:19.765669847 +0100
+++
/work/SRC/openSUSE:Factory/.policycoreutils.new.1977/policycoreutils.changes
2026-02-16 13:40:57.320707754 +0100
@@ -1,0 +2,6 @@
+Mon Feb 16 09:08:19 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Fix build with latest python-pip bsc#1258173
+- Add patch sepolicy-build-isolation.patch
+
+-------------------------------------------------------------------
New:
----
sepolicy-build-isolation.patch
----------(New B)----------
New:- Fix build with latest python-pip bsc#1258173
- Add patch sepolicy-build-isolation.patch
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ policycoreutils.spec ++++++
--- /var/tmp/diff_new_pack.pNRWBR/_old 2026-02-16 13:40:58.548758371 +0100
+++ /var/tmp/diff_new_pack.pNRWBR/_new 2026-02-16 13:40:58.548758371 +0100
@@ -59,6 +59,7 @@
Patch2: get_os_version.patch
Patch3: run_init.pamd.patch
Patch4: usr_etc.patch
+Patch5: sepolicy-build-isolation.patch
BuildRequires: audit-devel >= %{libaudit_ver}
BuildRequires: bison
BuildRequires: dbus-1-glib-devel
@@ -213,6 +214,7 @@
%patch -P4 -p2
mv ${setools_python_pwd}/audit2allow ${setools_python_pwd}/chcat
${setools_python_pwd}/semanage ${setools_python_pwd}/sepolgen
${setools_python_pwd}/sepolicy .
mv ${semodule_utils_pwd}/semodule_expand ${semodule_utils_pwd}/semodule_link
${semodule_utils_pwd}/semodule_package .
+%patch -P5 -p1
%build
export PYTHON="%{python_binary_for_executables}" LIBDIR="%{_libdir}"
CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro"
++++++ sepolicy-build-isolation.patch ++++++
Index: policycoreutils-3.10/sepolicy/Makefile
===================================================================
--- policycoreutils-3.10.orig/sepolicy/Makefile
+++ policycoreutils-3.10/sepolicy/Makefile
@@ -27,7 +27,7 @@ test:
@$(PYTHON) test_sepolicy.py -v
install:
- $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" &&
echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
+ $(PYTHON) -m pip install --no-build-isolation --prefix=$(PREFIX) `test
-n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps`
$(PYTHON_SETUP_ARGS) .
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy
(cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)