From 0bdb22ca470c844b9360450102e7b7a214c02cf2 Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Fri, 18 Jan 2013 12:34:35 +0100 Subject: [PATCH] Remove %mandriva and %fedora conditionals. The mandriva are not maintained and probably little help should someone step up to make a mandriva spec. They also adds clutter somewhat. For the fedora ones, there is already a spec in much better shape. --- spotify-client.spec | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/spotify-client.spec b/spotify-client.spec index fe490c2..518921f 100644 --- a/spotify-client.spec +++ b/spotify-client.spec @@ -33,6 +33,8 @@ License: Commercial Summary: Desktop client for Spotify streaming music service Url: http://www.spotify.com/download/previews/ Group: Productivity/Multimedia/Sound/Players +BuildRoot: %{_tmppath}/%{name}-%{version}-build + Source0: %{github_repo}/spotify-make-%{version}-%{shortcommit}.tar.gz %ifarch x86_64 Source1: spotify-client_%{version}-%{release}_amd64.deb @@ -42,7 +44,7 @@ Source1: spotify-client_%{version}-%{release}_i386.deb Source2: pkg-bundled-README Source3: spotify.sh NoSource: 0 -%if 0%{?suse_version} + BuildRequires: update-desktop-files BuildRequires: binutils BuildRequires: python-devel @@ -61,24 +63,10 @@ Requires: mozilla-nss%{?req_64} Requires: mozilla-nspr%{?req_64} Recommends: libmp3lame0 -%endif - -# not currently tested on Fedora or Mandriva, but leaving -# these here in case anyone wants to step up and do it :) -%if 0%{?fedora_version} -Requires: nss -Requires: nspr -Requires: openssl >= 1.0.0 -%endif -%if 0%{?mandriva_version} -Requires: libnss3 -Requires: libnspr4 -Requires: libopenssl1.0.0 -Conflicts: libopenssl0.9.8 -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build + %description Spotify is a "Freemium" proprietary, DRM-restricted digital music service that gives you access to millions of songs.