Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package WSL-DistroLauncher for openSUSE:Factory checked in at 2021-04-10 15:27:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/WSL-DistroLauncher (Old) and /work/SRC/openSUSE:Factory/.WSL-DistroLauncher.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "WSL-DistroLauncher" Sat Apr 10 15:27:41 2021 rev:3 rq:883926 version:0.0.1+git20200306.f858909 Changes: -------- --- /work/SRC/openSUSE:Factory/WSL-DistroLauncher/WSL-DistroLauncher.changes 2020-04-10 23:54:38.888760186 +0200 +++ /work/SRC/openSUSE:Factory/.WSL-DistroLauncher.new.2401/WSL-DistroLauncher.changes 2021-04-10 15:28:44.370474600 +0200 @@ -1,0 +2,7 @@ +Thu Apr 8 22:33:08 UTC 2021 - Jeff Kowalczyk <[email protected]> + +- During prerelease phases, parens around RC etc. in PRETTY_NAME + are not properly escaped if passed to mingw configure step. + * PRETTY_NAME keep only alphanum+space when passing as distro-id + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ WSL-DistroLauncher.spec ++++++ --- /var/tmp/diff_new_pack.dDPxB8/_old 2021-04-10 15:28:44.822475132 +0200 +++ /var/tmp/diff_new_pack.dDPxB8/_new 2021-04-10 15:28:44.826475136 +0200 @@ -1,7 +1,7 @@ # # spec file for package WSL-DistroLauncher # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -70,9 +70,16 @@ else . /etc/os-release fi +# During prerelease phases, parens around RC etc. in PRETTY_NAME +# are not properly escaped if passed to mingw configure step. +# Bash substitution requires two steps: +# 1. Keep only alphanumeric characters and spaces +PRETTY_NAME_ALPHANUM="${PRETTY_NAME//[^a-zA-Z0-9- ]/}" +# 2. Replace spaces with hyphen +DISTRO_ID="${PRETTY_NAME_ALPHANUM// /-}" %{_mingw64_configure} --with-windmc=%{_mingw64_windmc} \ --with-windres=%{_mingw64_windres} \ - --with-distro-id="${PRETTY_NAME// /-}" \ + --with-distro-id="$DISTRO_ID" \ --with-distro-name="$PRETTY_NAME" \ --with-distro-icon="icon.ico" make %{?_smp_mflags}
