From 12a144eeb3f354b4afa99e5a3fbe66d592628e86 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 26 Sep 2010 09:32:05 +0000 Subject: [PATCH] Maybe fix the 32-bit gstreamer rpm deps again --- dist/clementine.spec.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dist/clementine.spec.in b/dist/clementine.spec.in index a46cb9158..d4fc7495b 100644 --- a/dist/clementine.spec.in +++ b/dist/clementine.spec.in @@ -17,19 +17,20 @@ BuildRequires: libmtp-devel Requires: libgpod -# There must be a better way to do this -%ifarch x86_64 -%define archthing ()(64bit) -%else -%define archthing -%endif - # GStreamer codec dependencies Requires: gstreamer-plugins-ugly -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} + +%ifarch x86_64 +Requires: gstreamer0.10(decoder-audio/x-vorbis)()(64bit) +Requires: gstreamer0.10(decoder-audio/x-flac)()(64bit) +Requires: gstreamer0.10(decoder-audio/x-speex)()(64bit) +Requires: gstreamer0.10(decoder-audio/x-wav)()(64bit) +%else +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) +%endif %description Clementine is a modern music player and library organiser.