Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsemanage for openSUSE:Factory checked in at 2026-06-05 14:56:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsemanage (Old) and /work/SRC/openSUSE:Factory/.libsemanage.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsemanage" Fri Jun 5 14:56:43 2026 rev:72 rq:1356964 version:3.10 Changes: -------- +++ only whitespace diff in changes, re-diffing --- /work/SRC/openSUSE:Factory/libsemanage/python-semanage.changes 2026-02-09 11:43:16.217520578 +0100 +++ /work/SRC/openSUSE:Factory/.libsemanage.new.2375/python-semanage.changes 2026-06-05 14:56:49.923700760 +0200 @@ -1,0 +2,8 @@ +Wed Jun 3 08:10:50 UTC 2026 - Cathy Hu <[email protected]> + +- Depend on libso before make pywrap is executed to avoid + race conditions (bsc#1266385) + - Add patch: 1266385-libsemanage-Require-LIBSO-before-SWIGSO-and-SWIGRUBY.patch +- Add CFLAGS to %make_install call for consistency with %make_build + +------------------------------------------------------------------- New: ---- 1266385-libsemanage-Require-LIBSO-before-SWIGSO-and-SWIGRUBY.patch ----------(New B)---------- New:/work/SRC/openSUSE:Factory/.libsemanage.new.2375/python-semanage.changes- race conditions (bsc#1266385) /work/SRC/openSUSE:Factory/.libsemanage.new.2375/python-semanage.changes: - Add patch: 1266385-libsemanage-Require-LIBSO-before-SWIGSO-and-SWIGRUBY.patch /work/SRC/openSUSE:Factory/.libsemanage.new.2375/python-semanage.changes-- Add CFLAGS to %make_install call for consistency with %make_build ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-semanage.spec ++++++ --- /var/tmp/diff_new_pack.AeWjsO/_old 2026-06-05 14:56:50.751735004 +0200 +++ /var/tmp/diff_new_pack.AeWjsO/_new 2026-06-05 14:56:50.751735004 +0200 @@ -38,6 +38,8 @@ # PATCH-FIX-UPSTREAM bsc#1133102 LTO: Update map file to include new symbols and remove wildcards # For now we need to disable this. This breaks e.g. shadow and also other packages in security:SELinux # Patch0: libsemanage-update-map-file.patch +# PATCH-FIX-UPSTREAM bsc#1266385 Depend on LIBSO before make pywrap is executed to avoid race condition [email protected] +Patch1: 1266385-libsemanage-Require-LIBSO-before-SWIGSO-and-SWIGRUBY.patch BuildRequires: %{python_module devel} BuildRequires: audit-devel BuildRequires: bison @@ -76,12 +78,13 @@ mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} %{python_expand # loop over possible pythons -%make_install install-pywrap PYTHON="$python" \ +%make_install install-pywrap \ + CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" \ + PYTHON="$python" \ LIBDIR="%{_libdir}" \ LIBEXECDIR="%{_libexecdir}" \ SHLIBDIR="%{_libdir}" } - # remove files contained in other packages rm -rf %{buildroot}%{_sysconfdir} %if "%{_lib}" == "lib64" ++++++ 1266385-libsemanage-Require-LIBSO-before-SWIGSO-and-SWIGRUBY.patch ++++++ Index: libsemanage-3.10/src/Makefile =================================================================== --- libsemanage-3.10.orig/src/Makefile +++ libsemanage-3.10/src/Makefile @@ -70,6 +70,11 @@ SWIGRUBY = swig -Wall -ruby -o $(SWIGRUB all: $(LIBA) $(LIBPC) ifneq ($(DISABLE_SHARED),y) all: $(LIBSO) +$(SWIGSO): $(LIBSO) +$(SWIGRUBYSO): $(LIBSO) +else +$(SWIGSO): $(LIBA) +$(SWIGRUBYSO): $(LIBA) endif pywrap: all $(SWIGSO) @@ -86,7 +91,7 @@ $(SWIGSO): $(SWIGLOBJ) $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -L. -shared -o $@ $< -lsemanage $(PYLIBS) $(SWIGRUBYSO): $(SWIGRUBYLOBJ) - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -L. -shared -o $@ $^ -lsemanage $(RUBYLIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -L. -shared -o $@ $< -lsemanage $(RUBYLIBS) $(LIBA): $(OBJS) $(AR) rcs $@ $^
