Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gswrap for openSUSE:Factory checked 
in at 2023-09-14 16:26:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gswrap (Old)
 and      /work/SRC/openSUSE:Factory/.gswrap.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gswrap"

Thu Sep 14 16:26:10 2023 rev:10 rq:1111326 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gswrap/gswrap.changes    2021-12-16 
02:01:21.891648590 +0100
+++ /work/SRC/openSUSE:Factory/.gswrap.new.1766/gswrap.changes  2023-09-14 
16:29:10.130090926 +0200
@@ -1,0 +2,5 @@
+Thu Sep 14 11:56:38 UTC 2023 - Dr. Werner Fink <[email protected]>
+
+- Make it work even with different hwcaps versions
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gswrap.spec ++++++
--- /var/tmp/diff_new_pack.K1JPT3/_old  2023-09-14 16:29:11.270131653 +0200
+++ /var/tmp/diff_new_pack.K1JPT3/_new  2023-09-14 16:29:11.270131653 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gswrap
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ gswrap ++++++
--- /var/tmp/diff_new_pack.K1JPT3/_old  2023-09-14 16:29:11.294132510 +0200
+++ /var/tmp/diff_new_pack.K1JPT3/_new  2023-09-14 16:29:11.298132652 +0200
@@ -1,8 +1,9 @@
 #!/bin/bash
 #
-# Copyright (c) 2019 SuSE GmbH Nuernberg, Germany.
-# Copyright (c) 2021 SuSE SUSE Software Solutions Germany GmbH.
-# Copyright (c) 2019,2021 Werner Fink
+# Copyright (c) 2019 SUSE GmbH Nuernberg, Germany.
+# Copyright (c) 2021 SUSE Software Solutions Germany GmbH.
+# Copyright (c) 2023 SUSE Software Solutions Germany GmbH.
+# Copyright (c) 2019,2021,2023 Werner Fink
 #
 # Wrapper script for ghostscript based on bwrap, the container setup
 # utility, which does use e.g. unshare(2) system call to create a
@@ -80,7 +81,8 @@
     opts[o++]="$lib"
     opts[o++]="$lib"
 done
-for dir in /lib/tls /lib64/tls /lib64/x86_64 /usr/lib/ghostscript 
/usr/lib64/ghostscript /etc/ghostscript
+arch=$(uname -i)
+for dir in /lib/tls /lib64/tls /lib64/${arch} /usr/lib/ghostscript 
/usr/lib64/ghostscript /etc/ghostscript /lib64/glibc-hwcaps/${arch/_/[_-]}-v*
 do
     test -d "$dir" || continue
     opts[o++]=--ro-bind
@@ -304,7 +306,7 @@
 # Clearly the `false´ should then changed to `true´
 if false
 then
-    for bin in /usr/bin/strace
+    for bin in /usr/bin/strace /bin/ls
     do
        opts[o++]=--ro-bind
        opts[o++]="$bin"
@@ -343,8 +345,6 @@
       --chdir "$home" \
       "${opts[@]}" \
       --new-session \
-      --sync-fd 0 \
-      --sync-fd 1 \
       --sync-fd 2 \
       --setenv XDG_RUNTIME_DIR "/run/user/$uid" \
       --setenv USER "$user" \

Reply via email to