Hello community,

here is the log from the commit of package libsemanage for openSUSE:Factory 
checked in at 2020-10-06 17:06:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsemanage (Old)
 and      /work/SRC/openSUSE:Factory/.libsemanage.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsemanage"

Tue Oct  6 17:06:52 2020 rev:49 rq:832092 version:3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsemanage/libsemanage.changes  2020-06-05 
20:08:45.805456485 +0200
+++ /work/SRC/openSUSE:Factory/.libsemanage.new.4249/libsemanage.changes        
2020-10-06 17:09:25.001439511 +0200
@@ -1,0 +2,33 @@
+Wed Jul 29 14:37:19 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Add /var/lib/selinux
+
+-------------------------------------------------------------------
+Wed Jul 15 08:17:18 UTC 2020 - Johannes Segitz <[email protected]>
+
+- Remove libsemanage-update-map-file.patch to prevent checkers from declining
+  the submission. Keeping the snippet in the spec file in case we try to 
+  enable LTO again
+
+-------------------------------------------------------------------
+Tue Jul 14 08:36:19 UTC 2020 - Johannes Segitz <[email protected]>
+
+- Update to version 3.1
+  * Improved manpage
+  * fsync final files before rename
+
+-------------------------------------------------------------------
+Tue Jun 16 07:08:59 UTC 2020 - Johannes Segitz <[email protected]>
+
+- Disabled LTO again. This breaks e.g. shadow and also other packages
+  in security:SELinux
+
+-------------------------------------------------------------------
+Fri Jun 12 09:07:31 UTC 2020 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Fix build with LTO: [bsc#1133102]
+  * Enable LTO (Link Time Optimization) and build with -ffat-lto-objects
+  * Update map file to include new symbols and remove wildcards
+- Add libsemanage-update-map-file.patch
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/libsemanage/python-semanage.changes      
2020-06-05 20:08:46.665459353 +0200
+++ /work/SRC/openSUSE:Factory/.libsemanage.new.4249/python-semanage.changes    
2020-10-06 17:09:26.045440412 +0200
@@ -1,0 +2,21 @@
+Tue Jul 14 08:36:19 UTC 2020 - Johannes Segitz <[email protected]>
+
+- Update to version 3.1
+  * Improved manpage
+  * fsync final files before rename
+
+-------------------------------------------------------------------
+Tue Jun 16 07:08:59 UTC 2020 - Johannes Segitz <[email protected]>
+
+- Disabled LTO again. This breaks e.g. shadow and also other packages
+  in security:SELinux
+
+-------------------------------------------------------------------
+Fri Jun 12 09:07:31 UTC 2020 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Fix build with LTO: [bsc#1133102]
+  * Enable LTO (Link Time Optimization)
+  * Update map file to include new symbols and remove wildcards
+- Add libsemanage-update-map-file.patch
+
+-------------------------------------------------------------------

Old:
----
  libsemanage-3.0.tar.gz

New:
----
  libsemanage-3.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsemanage.spec ++++++
--- /var/tmp/diff_new_pack.Bk4O3V/_old  2020-10-06 17:09:28.605442623 +0200
+++ /var/tmp/diff_new_pack.Bk4O3V/_new  2020-10-06 17:09:28.609442627 +0200
@@ -17,15 +17,18 @@
 
 
 Name:           libsemanage
-Version:        3.0
+Version:        3.1
 Release:        0
 Summary:        SELinux policy management library
 License:        LGPL-2.1-or-later
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/SELinuxProject/selinux/wiki/Releases
-Source:         
https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz
+Source:         
https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Source2:        semanage.conf
+# 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
 BuildRequires:  audit-devel
 BuildRequires:  bison
 BuildRequires:  fdupes
@@ -96,13 +99,14 @@
 %build
 %define _lto_cflags %{nil}
 make %{?_smp_mflags} clean
-make -j1 CFLAGS="%{optflags}" CC="gcc"
-make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" 
SHLIBDIR="%{_lib}" CC="gcc" all
+make -j1 CFLAGS="%{optflags} -fno-semantic-interposition" CC="gcc"
+make -j1 CFLAGS="%{optflags} -fno-semantic-interposition" LIBDIR="%{_libdir}" 
LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all
 
 %install
 mkdir -p %{buildroot}/%{_lib}
 mkdir -p %{buildroot}%{_libdir}
 mkdir -p %{buildroot}%{_includedir}
+mkdir -p %{buildroot}%{_localstatedir}/lib/selinux
 %make_install LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" 
SHLIBDIR="%{_libdir}"
 ln -sf  %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so
 cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
@@ -116,6 +120,7 @@
 %dir %{_sysconfdir}/selinux
 %config(noreplace) %{_sysconfdir}/selinux/semanage.conf
 %{_libdir}/libsemanage.so.*
+%dir %{_localstatedir}/lib/selinux
 
 %files devel
 %{_libdir}/libsemanage.so

++++++ python-semanage.spec ++++++
--- /var/tmp/diff_new_pack.Bk4O3V/_old  2020-10-06 17:09:28.629442644 +0200
+++ /var/tmp/diff_new_pack.Bk4O3V/_new  2020-10-06 17:09:28.633442648 +0200
@@ -18,14 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-semanage
-Version:        3.0
+Version:        3.1
 Release:        0
 Summary:        Python bindings for SELinux's policy management library
 License:        LGPL-2.1-only
 Group:          Development/Languages/Python
 URL:            https://github.com/SELinuxProject/selinux
-Source:         
https://github.com/SELinuxProject/selinux/releases/download/20191204/libsemanage-%{version}.tar.gz
+Source:         
https://github.com/SELinuxProject/selinux/releases/download/20200710/libsemanage-%{version}.tar.gz
 Source1:        baselibs.conf
+# 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
 BuildRequires:  %{python_module devel}
 BuildRequires:  audit-devel
 BuildRequires:  bison
@@ -53,8 +56,8 @@
 %define _lto_cflags %{nil}
 make %{?_smp_mflags} clean
 %{python_expand # loop over possible pythons
-make -j1 PYTHON=$python CFLAGS="%{optflags}" swigify
-make -j1 PYTHON=$python CFLAGS="%{optflags}" \
+make -j1 PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" 
swigify
+make -j1 PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" \
          LIBDIR="%{_libdir}" \
          LIBEXECDIR="%{_libexecdir}" \
          SHLIBDIR="%{_lib}" \

++++++ libsemanage-3.0.tar.gz -> libsemanage-3.1.tar.gz ++++++
++++ 5171 lines of diff (skipped)


Reply via email to