[packages/skype] validate that built version is stable
atler
atler at pld-linux.org
Mon Aug 19 13:54:51 CEST 2019
commit 7781b545eb5f6e6e61079b49568ad7641955a759
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 19 13:51:39 2019 +0200
validate that built version is stable
skype.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/skype.spec b/skype.spec
index 5daa6dc..c737f0e 100644
--- a/skype.spec
+++ b/skype.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/skype.git/commitdiff/4e3f83f51947e462faf666df0fe15077eaf54ef9
More information about the pld-cvs-commit
mailing list