Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wsl-appx for openSUSE:Factory checked in at 2021-04-17 00:01:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wsl-appx (Old) and /work/SRC/openSUSE:Factory/.wsl-appx.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wsl-appx" Sat Apr 17 00:01:22 2021 rev:8 rq:883758 version:1 Changes: -------- --- /work/SRC/openSUSE:Factory/wsl-appx/wsl-appx.changes 2021-04-07 14:16:09.301768894 +0200 +++ /work/SRC/openSUSE:Factory/.wsl-appx.new.12324/wsl-appx.changes 2021-04-17 00:01:24.649560540 +0200 @@ -1,0 +2,6 @@ +Fri Mar 5 05:09:21 UTC 2021 - Jeff Kowalczyk <[email protected]> + +- Fix bsc#1179874 Error in parsing the WSL appx package + * Add SHORT_NAME as truncated PRETTY_NAME to comply with AppManifest.xml schema + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wsl-appx.spec ++++++ --- /var/tmp/diff_new_pack.KgQG37/_old 2021-04-17 00:01:25.089561234 +0200 +++ /var/tmp/diff_new_pack.KgQG37/_new 2021-04-17 00:01:25.093561240 +0200 @@ -84,6 +84,14 @@ APPID="${PRETTY_NAME//[^[:alnum:]]/}" IDENTITYAPPID="${PRETTY_NAME//[^[:alnum:]\.]/}" LAUNCHERNAME="${PRETTY_NAME//[^[:alnum:].]/-}.exe" + +# FIX bsc#1179874 Error in parsing the WSL appx package +# PRETTY_NAME in SLES development snapshots can exceed 40 characters allowed in ShortName appx schema field +# Define SHORT_NAME as first 35 characters of PRETTY_NAME and use in AppManifest.xml template +# Length 35 discards development snapshot/beta/rc qualifier cleanly: +# 'SUSE Linux Enterprise Server 15 SP3 (Snapshot11)' -> 'SUSE Linux Enterprise Server 15 SP3' +SHORT_NAME="${PRETTY_NAME::35}" + RELEASE="`rpm -q --qf '%%{release}' %image_package`" ARCH="%_arch" case "$ARCH" in @@ -108,12 +116,12 @@ APPXNAME="${PRETTY_NAME//[^[:alnum:].]/-}-$ARCH-Build$RELEASE.appx" fi -for i in PRETTY_NAME APPID IDENTITYAPPID ARCH PUBLISHER PUBLISHER_DISPLAY_NAME VERSION LAUNCHERNAME APPXNAME; do +for i in PRETTY_NAME APPID IDENTITYAPPID ARCH PUBLISHER PUBLISHER_DISPLAY_NAME VERSION LAUNCHERNAME SHORT_NAME APPXNAME; do eval echo "\"$i='\$$i'\"" done > .settings cd files -sed -e "s/@PRETTY_NAME@/${PRETTY_NAME}/g;s/@APPID@/$APPID/g;s/@IDENTITYAPPID@/$IDENTITYAPPID/g;s/@PUBLISHER@/$PUBLISHER/g;s/@PUBLISHER_DISPLAY_NAME@/$PUBLISHER_DISPLAY_NAME/g;s/@VERSION@/${VERSION}/g;s/@LAUNCHERNAME@/$LAUNCHERNAME/g;s/@ARCH@/$ARCH/g" \ +sed -e "s/@PRETTY_NAME@/${PRETTY_NAME}/g;s/@APPID@/$APPID/g;s/@IDENTITYAPPID@/$IDENTITYAPPID/g;s/@PUBLISHER@/$PUBLISHER/g;s/@PUBLISHER_DISPLAY_NAME@/$PUBLISHER_DISPLAY_NAME/g;s/@VERSION@/${VERSION}/g;s/@LAUNCHERNAME@/$LAUNCHERNAME/g;s/@SHORT_NAME@/$SHORT_NAME/g;s/@ARCH@/$ARCH/g" \ < %{SOURCE0} > AppxManifest.xml cat AppxManifest.xml ++++++ AppxManifest.xml ++++++ --- /var/tmp/diff_new_pack.KgQG37/_old 2021-04-17 00:01:25.117561277 +0200 +++ /var/tmp/diff_new_pack.KgQG37/_new 2021-04-17 00:01:25.117561277 +0200 @@ -18,7 +18,7 @@ <Applications> <Application Id="@APPID@" Executable="@LAUNCHERNAME@" EntryPoint="Windows.FullTrustApplication"> <uap:VisualElements DisplayName="@PRETTY_NAME@" Description="@PRETTY_NAME@" BackgroundColor="#73ba25" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png"> - <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png" ShortName="@PRETTY_NAME@"> + <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png" ShortName="@SHORT_NAME@"> <uap:ShowNameOnTiles> <uap:ShowOn Tile="wide310x150Logo" /> <uap:ShowOn Tile="square310x310Logo" />
