Now that I have a Spotify account I wanted to run the Spotify software on my machine. Although technically they don't support Linux yet they have a repo for Fedora available. However I found a small problem when trying to install it on FC15, it isn't supported, sorta.

Here is the repo file provided by Spotify:

[sourcecode light="true" highlight="3"]

[spotify] name=Repository for the Spotify client
baseurl=http://repository.spotify.com/fedora/releases/$releasever/$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-spotify

[/sourcecode]

When you install that repo file and try to update it automatically resolves to the baseurl

[sourcecode light="true"]

http://repository.spotify.com/fedora/releases/15/x86_64

[/sourcecode]

which if you try and go to in a browser returns a 404, it doesn't exist. This is the problem.

If you go to http://repository.spotify.com/fedora/releases/ you will see there are only options for 13 and 14, no 15 (or anything before 13).

The simple fix is this:

[sourcecode light="true" highlight="3"]

[spotify] name=Repository for the Spotify client
baseurl=http://repository.spotify.com/fedora/releases/14/x8664
enabled=1
metadata
expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-spotify

[/sourcecode]

Technically it is NOT the right version, but it does run well enough under FC15 that I am not worried, and easy enough to fix when they have a valid client.

UPDATE: Spotify for Linux will only work on paid accounts, no free trial run here, and I don't want to worry about WINE, so I guess Spotify use will still have to wait.