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-07 13:35:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wsl-appx (Old)
 and      /work/SRC/openSUSE:Factory/.wsl-appx.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wsl-appx"

Wed Apr  7 13:35:14 2021 rev:6 rq:878210 version:1

Changes:
--------
--- /work/SRC/openSUSE:Factory/wsl-appx/wsl-appx.changes        2020-07-03 
00:10:21.487658442 +0200
+++ /work/SRC/openSUSE:Factory/.wsl-appx.new.2401/wsl-appx.changes      
2021-04-07 13:35:15.794793369 +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.QSrapF/_old  2021-04-07 13:35:16.430794042 +0200
+++ /var/tmp/diff_new_pack.QSrapF/_new  2021-04-07 13:35:16.434794046 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wsl-appx
 #
-# 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
@@ -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.QSrapF/_old  2021-04-07 13:35:16.450794063 +0200
+++ /var/tmp/diff_new_pack.QSrapF/_new  2021-04-07 13:35:16.450794063 +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" />

Reply via email to