[packages/skype/SKYPE_4_3] added compatibility hack to make skype 4.3 work after eol

atler atler at pld-linux.org
Wed Nov 29 14:05:52 CET 2017


commit 0e6059bb9bd1b9c1a25a83194c147577a7cb621a
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Nov 29 14:04:13 2017 +0100

    added compatibility hack to make skype 4.3 work after eol
    
    see:
    https://answers.microsoft.com/en-us/skype/forum/skype_linux-skype_startms-skype_installms/end-of-life-of-skype-for-linux-43/70fe7036-ddf3-4fa3-9c06-1bca3ec0226c

 skype.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/skype.spec b/skype.spec
index d049413..d678208 100644
--- a/skype.spec
+++ b/skype.spec
@@ -1,3 +1,6 @@
+# Conditional build:
+%bcond_with	compat_hack	# compatibility hack to make old skype work after end of life
+
 %define		pkgname skype
 %define		qtver	4.7
 %define		dbus	1.0
@@ -73,6 +76,11 @@ mv usr/share/pixmaps/skype.png .
 mv usr/share/applications/skype.desktop .
 %patch0 -p1
 
+%if %{with compat_hack}
+%define		escaped_ver	%(echo %{version}|sed 's/\\./\\\\./g')
+%{__sed} -i -e 's/%{escaped_ver}/8.3.0.37/' %{pkgname}
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_datadir}/%{pkgname},%{_datadir}/%{pkgname}/{lang,sounds,avatars},%{_desktopdir},%{_pixmapsdir},/etc/dbus-1/system.d}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skype.git/commitdiff/0e6059bb9bd1b9c1a25a83194c147577a7cb621a



More information about the pld-cvs-commit mailing list