From 259688b9a0ea99093f3c62d7182446681349161c Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 4 Sep 2010 23:34:16 +0000 Subject: [PATCH] Don't make the 64-bit rpm depend on loads of 32-bit libraries --- dist/clementine.spec.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dist/clementine.spec.in b/dist/clementine.spec.in index 7c4f273e5..4e9e6ef5e 100644 --- a/dist/clementine.spec.in +++ b/dist/clementine.spec.in @@ -17,12 +17,17 @@ BuildRequires: libmtp-devel Requires: libgpod +# There must be a better way to do this +%ifarch x86_64 +%define archthing ()(64bit) +%endif + # GStreamer codec dependencies Requires: gstreamer-plugins-ugly -Requires: gstreamer0.10(decoder-audio/x-vorbis) -Requires: gstreamer0.10(decoder-audio/x-flac) -Requires: gstreamer0.10(decoder-audio/x-speex) -Requires: gstreamer0.10(decoder-audio/x-wav) +Requires: gstreamer0.10(decoder-audio/x-vorbis)%{archthing} +Requires: gstreamer0.10(decoder-audio/x-flac)%{archthing} +Requires: gstreamer0.10(decoder-audio/x-speex)%{archthing} +Requires: gstreamer0.10(decoder-audio/x-wav)%{archthing} %description Clementine is a modern music player and library organiser.