Hello community,

here is the log from the commit of package gswrap for openSUSE:Factory checked 
in at 2020-01-10 17:49:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gswrap (Old)
 and      /work/SRC/openSUSE:Factory/.gswrap.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gswrap"

Fri Jan 10 17:49:36 2020 rev:2 rq:762787 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gswrap/gswrap.changes    2019-08-28 
18:38:21.089253768 +0200
+++ /work/SRC/openSUSE:Factory/.gswrap.new.6675/gswrap.changes  2020-01-10 
17:49:39.842133704 +0100
@@ -1,0 +2,10 @@
+Fri Jan 10 10:51:59 UTC 2020 - Dr. Werner Fink <[email protected]>
+
+- Handle relative paths more gracefully 
+
+-------------------------------------------------------------------
+Fri Jan 10 08:53:48 UTC 2020 - Dr. Werner Fink <[email protected]>
+
+- Allow %stdout as well as %stdout% for -sOutputFile= 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gswrap.spec ++++++
--- /var/tmp/diff_new_pack.QRmjVV/_old  2020-01-10 17:49:41.630133386 +0100
+++ /var/tmp/diff_new_pack.QRmjVV/_new  2020-01-10 17:49:41.670133379 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gswrap
 #
-# Copyright (c) 2019 SUSE Linux GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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.QRmjVV/_old  2020-01-10 17:49:41.950133329 +0100
+++ /var/tmp/diff_new_pack.QRmjVV/_new  2020-01-10 17:49:41.950133329 +0100
@@ -11,7 +11,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 2.1 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -73,7 +73,7 @@
        ;;
     -sOutputFile=*)
        case "${arg#-sOutputFile=}" in
-       %stdout%|%stderr%|-|"")
+       %stdout%|%stderr%|%stdout|%stderr|-|"")
            continue ;;
        %pipe%*)
            pipecmd=${arg#-sOutputFile=%pipe%}
@@ -104,8 +104,6 @@
                trap "finish '$PWD' '$tmp'" ERR EXIT SIGINT SIGHUP
                opts[o++]="--bind ${tmp+"$tmp"} $home/out"
            fi
-           # change to new working directory in sandbox
-           opts[o++]="--chdir $home/out"
        fi
        argv[argc]="-sOutputFile=$home/out/${file}"
        continue
@@ -129,6 +127,8 @@
     then
        opts[o++]="--ro-bind $arg $home/$arg"
     else
+       arg="$(realpath $arg)" || exit 1
+       argv[argc]="$arg"
        test "$arg" != / || continue
        test "$arg" != /home || continue
        test "$arg" != $home || continue


Reply via email to