]> git.pld-linux.org Git - packages/skype.git/commitdiff
validate that built version is stable
authorJan Palus <atler@pld-linux.org>
Mon, 19 Aug 2019 11:51:39 +0000 (13:51 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 19 Aug 2019 11:51:39 +0000 (13:51 +0200)
skype.spec

index 5daa6dcc3df978389e36308806b25329d69abfab..c737f0e241d2b4e9ea2d9a1267d3ba89e54e1e99 100644 (file)
@@ -63,7 +63,8 @@ mv skypeforlinux/LICENSE* .
 
 %build
 v=$(strings skypeforlinux/resources/app.asar | grep -C 3 '"productName": "Skype",' | grep -m 1 '"version":' | sed 's/.*: "\([0-9.]\+\)".*/\1/')
-test "$v" = "%{version}"
+c=$(strings skypeforlinux/resources/app.asar | grep '"buildChannel":' | sed 's/.*: "\([^"]\+\)".*/\1/')
+test "$v" = "%{version}" -a "$c" = "production"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.078349 seconds and 4 git commands to generate.