Hello community,

here is the log from the commit of package libsemanage for openSUSE:Factory 
checked in at 2020-06-05 20:05:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsemanage (Old)
 and      /work/SRC/openSUSE:Factory/.libsemanage.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsemanage"

Fri Jun  5 20:05:02 2020 rev:48 rq:811388 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsemanage/libsemanage.changes  2020-03-11 
18:31:04.714852074 +0100
+++ /work/SRC/openSUSE:Factory/.libsemanage.new.3606/libsemanage.changes        
2020-06-05 20:08:45.805456485 +0200
@@ -1,0 +2,14 @@
+Thu Jun  4 09:57:51 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Drop suse_path.patch: replace it with a grep/sed logic replacing
+  /usr/libexec in all files with the correct value for all distros
+  (taking into account that openSUSE is in progress of migrating
+  from /usr/lib to /usr/libexec).
+
+-------------------------------------------------------------------
+Fri May 29 12:51:17 UTC 2020 - Johannes Segitz <jseg...@suse.de>
+
+- Apply suse_path.patch only for older distributions. Newer
+  use libexec
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/libsemanage/python-semanage.changes      
2020-03-11 18:31:05.918852794 +0100
+++ /work/SRC/openSUSE:Factory/.libsemanage.new.3606/python-semanage.changes    
2020-06-05 20:08:46.665459353 +0200
@@ -1,0 +2,14 @@
+Thu Jun  4 09:57:51 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Drop suse_path.patch: replace it with a grep/sed logic replacing
+  /usr/libexec in all files with the correct value for all distros
+  (taking into account that openSUSE is in progress of migrating
+  from /usr/lib to /usr/libexec).
+
+-------------------------------------------------------------------
+Fri May 29 12:51:17 UTC 2020 - Johannes Segitz <jseg...@suse.de>
+
+- Apply suse_path.patch only for older distributions. Newer
+  use libexec
+
+-------------------------------------------------------------------

Old:
----
  suse_path.patch

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

Other differences:
------------------
++++++ libsemanage.spec ++++++
--- /var/tmp/diff_new_pack.w8fUiC/_old  2020-06-05 20:08:47.969463701 +0200
+++ /var/tmp/diff_new_pack.w8fUiC/_new  2020-06-05 20:08:47.969463701 +0200
@@ -26,7 +26,6 @@
 Source:         
https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Source2:        semanage.conf
-Patch0:         suse_path.patch
 BuildRequires:  audit-devel
 BuildRequires:  bison
 BuildRequires:  fdupes
@@ -91,7 +90,8 @@
 
 %prep
 %setup -q
-%patch0
+# Replace /usr/libexec with whatever the distro defines as libexecdir - across 
all files
+grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
 
 %build
 %define _lto_cflags %{nil}

++++++ python-semanage.spec ++++++
--- /var/tmp/diff_new_pack.w8fUiC/_old  2020-06-05 20:08:47.985463755 +0200
+++ /var/tmp/diff_new_pack.w8fUiC/_new  2020-06-05 20:08:47.989463768 +0200
@@ -26,7 +26,6 @@
 URL:            https://github.com/SELinuxProject/selinux
 Source:         
https://github.com/SELinuxProject/selinux/releases/download/20191204/libsemanage-%{version}.tar.gz
 Source1:        baselibs.conf
-Patch0:         suse_path.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  audit-devel
 BuildRequires:  bison
@@ -47,7 +46,8 @@
 
 %prep
 %setup -q -n libsemanage-%{version}
-%patch0
+# Replace /usr/libexec with whatever the distro defines as libexecdir - across 
all files
+grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
 
 %build
 %define _lto_cflags %{nil}


Reply via email to