[packages/skype] change to real version (8.25.0.5) used in deb/rpm/about dialog

atler atler at pld-linux.org
Sun Jul 8 23:06:36 CEST 2018


commit 80afed61777434b3a514c50ecacffbc7fdd3a464
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 8 23:04:28 2018 +0200

    change to real version (8.25.0.5) used in deb/rpm/about dialog

 skype.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/skype.spec b/skype.spec
index 9007acb..19aefa5 100644
--- a/skype.spec
+++ b/skype.spec
@@ -1,9 +1,8 @@
 Summary:	p2p VoIP application
 Summary(pl.UTF-8):	Aplikacja VoIP p2p
 Name:		skype
-%define	beta	beta.7
-Version:	2.0.0
-Release:	0.%{beta}.2
+Version:	8.25.0.5
+Release:	1
 Epoch:		1
 # http://www.skype.com/company/legal/promote/distributionterms.html
 # distributing on CD-ROM and similar media requires approval
@@ -60,8 +59,8 @@ mv skypeforlinux/LICENSE* .
 %patch0 -p1
 
 %build
-v=$(cat skypeforlinux/version)
-test "$v" = "v%{version}-%{beta}"
+v=$(strings skypeforlinux/resources/app.asar | grep -C 3 '"productName": "Skype",' | grep -m 1 '"version":' | sed 's/.*: "\([0-9.]\+\)".*/\1/')
+test "$v" = "%{version}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skype.git/commitdiff/80afed61777434b3a514c50ecacffbc7fdd3a464



More information about the pld-cvs-commit mailing list