Hello community, here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2018-05-17 19:32:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old) and /work/SRC/openSUSE:Factory/.yast2-packager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager" Thu May 17 19:32:25 2018 rev:353 rq:609806 version:4.0.62 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2018-05-01 22:42:10.191000413 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes 2018-05-17 19:32:27.913134041 +0200 @@ -1,0 +2,16 @@ +Wed May 16 11:35:45 UTC 2018 - lsle...@suse.cz + +- Fixed argument handling in the .desktop file for the + "Install/Remove Software" item (bsc#1087352) +- Properly process paths containing spaces or special shell + characters +- 4.0.62 + +------------------------------------------------------------------- +Thu May 3 14:02:55 UTC 2018 - lsle...@suse.cz + +- Adapted /dev cleanup at upgrade to work properly with the + registration rollback (bsc#1089643) +- 4.0.61 + +------------------------------------------------------------------- Old: ---- yast2-packager-4.0.60.tar.bz2 New: ---- yast2-packager-4.0.62.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.Xgt3Iu/_old 2018-05-17 19:32:28.633107737 +0200 +++ /var/tmp/diff_new_pack.Xgt3Iu/_new 2018-05-17 19:32:28.637107591 +0200 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 4.0.60 +Version: 4.0.62 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -102,7 +102,7 @@ Requires: yast2-ruby-bindings >= 1.0.0 Summary: YaST2 - Package Library -License: GPL-2.0-or-later +License: GPL-2.0+ Group: System/YaST %description @@ -134,6 +134,8 @@ %dir %{yast_libdir}/packager %dir %{yast_libdir}/packager/cfa %dir %{yast_libdir}/y2packager +%dir %{yast_ybindir} +%{yast_ybindir}/* %{yast_yncludedir}/checkmedia/* %{yast_yncludedir}/packager/* %{yast_libdir}/packager/* ++++++ yast2-packager-4.0.60.tar.bz2 -> yast2-packager-4.0.62.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.60/desktop/yast2-packager.desktop new/yast2-packager-4.0.62/desktop/yast2-packager.desktop --- old/yast2-packager-4.0.60/desktop/yast2-packager.desktop 2018-04-27 17:45:10.000000000 +0200 +++ new/yast2-packager-4.0.62/desktop/yast2-packager.desktop 2018-05-16 16:38:04.000000000 +0200 @@ -2,7 +2,10 @@ Encoding=UTF-8 Name=Install/Remove Software GenericName=Install/Remove Software -Exec=xdg-su -c "/sbin/yast2 sw_single %F" +# we cannot use xdg-su -c "/sbin/yast2 sw_single %F" +# directly here as %F must not be used inside a quoted argument +# see https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables +Exec=/usr/lib/YaST2/bin/sw_single_wrapper %F Icon=yast-sw_single Terminal=false Type=Application diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.60/package/yast2-packager.changes new/yast2-packager-4.0.62/package/yast2-packager.changes --- old/yast2-packager-4.0.60/package/yast2-packager.changes 2018-04-27 17:45:10.000000000 +0200 +++ new/yast2-packager-4.0.62/package/yast2-packager.changes 2018-05-16 16:38:04.000000000 +0200 @@ -1,4 +1,20 @@ ------------------------------------------------------------------- +Wed May 16 11:35:45 UTC 2018 - lsle...@suse.cz + +- Fixed argument handling in the .desktop file for the + "Install/Remove Software" item (bsc#1087352) +- Properly process paths containing spaces or special shell + characters +- 4.0.62 + +------------------------------------------------------------------- +Thu May 3 14:02:55 UTC 2018 - lsle...@suse.cz + +- Adapted /dev cleanup at upgrade to work properly with the + registration rollback (bsc#1089643) +- 4.0.61 + +------------------------------------------------------------------- Tue Apr 24 19:49:40 UTC 2018 - igonzalezs...@suse.com - Fix text direction for RTL languages in software patterns list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.60/package/yast2-packager.spec new/yast2-packager-4.0.62/package/yast2-packager.spec --- old/yast2-packager-4.0.60/package/yast2-packager.spec 2018-04-27 17:45:10.000000000 +0200 +++ new/yast2-packager-4.0.62/package/yast2-packager.spec 2018-05-16 16:38:04.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 4.0.60 +Version: 4.0.62 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -134,6 +134,8 @@ %dir %{yast_libdir}/packager %dir %{yast_libdir}/packager/cfa %dir %{yast_libdir}/y2packager +%dir %{yast_ybindir} +%{yast_ybindir}/* %{yast_yncludedir}/checkmedia/* %{yast_yncludedir}/packager/* %{yast_libdir}/packager/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.60/src/bin/sw_single_wrapper new/yast2-packager-4.0.62/src/bin/sw_single_wrapper --- old/yast2-packager-4.0.60/src/bin/sw_single_wrapper 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-packager-4.0.62/src/bin/sw_single_wrapper 2018-05-16 16:38:04.000000000 +0200 @@ -0,0 +1,16 @@ +#! /bin/sh + +# This is a small wrapper around "yast2 sw_single" +# which quotes all arguments before passing them +# to xdg-su (to properly process file names contaning +# spaces or special shell characters like quotes, ampersand...) + +$ARGS="" +for ARG in "$@" +do + QUOTED_ARG=`printf %q "$ARG"` + ARGS="$ARGS $QUOTED_ARG" +done + +xdg-su -c "/sbin/yast2 sw_single $ARGS" + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.60/src/clients/inst_kickoff.rb new/yast2-packager-4.0.62/src/clients/inst_kickoff.rb --- old/yast2-packager-4.0.60/src/clients/inst_kickoff.rb 2018-04-27 17:45:10.000000000 +0200 +++ new/yast2-packager-4.0.62/src/clients/inst_kickoff.rb 2018-05-16 16:38:04.000000000 +0200 @@ -51,7 +51,9 @@ # Mount (bind) the current /dev/ to the /installed_system/dev/ LocalCommand( Builtins.sformat( - "/bin/rm -rf '%1/dev/' && /bin/mkdir -p '%1/dev/' && " \ + # try unmounting the /mnt/dev directory before the cleanup, usually there + # is a bind mount /dev -> /mnt/dev which would remove the files also from /dev + "/usr/bin/umount '%1/dev/'; /bin/rm -rf '%1/dev/' && /bin/mkdir -p '%1/dev/' && " \ "/bin/mount -v --bind '/dev/' '%1/dev/'", String.Quote(Installation.destdir) )