spotify: fix links to wrong openssl library version

This commit is contained in:
Silvan Calarco 2015-04-30 19:11:29 +02:00
parent 546f7ae273
commit 10e2f77897

View File

@ -12,6 +12,8 @@ URL: https://www.spotify.com/us/download/previews/
Source: https://github.com/leamas/spotify-make/tarball/master/spotify-make-%{version}.tar.gz
Source1: LICENSE
License: Not distributable
Requires: libopenssl100
Requires: zenity
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -42,6 +44,9 @@ mv %{buildroot}/opt/spotify/share/appdata %{buildroot}%{_datadir}
install -d -m0755 %{buildroot}%{_bindir}
ln -s /opt/spotify/bin/spotify %{buildroot}%{_bindir}/spotify
ln -sf /usr/lib64/libcrypto.so.1.0.0 %{buildroot}/opt/spotify/lib/spotify-client/libcrypto.so.1.0.0
ln -sf /usr/lib64/libssl.so.1.0.0 %{buildroot}/opt/spotify/lib/spotify-client/libssl.so.1.0.0
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"