diff --git a/audacious-plugin-fc.spec b/audacious-plugin-fc.spec index 579b165..8c8d9d7 100644 --- a/audacious-plugin-fc.spec +++ b/audacious-plugin-fc.spec @@ -1,6 +1,6 @@ %global aud_plugin_api %(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\\+' %{_includedir}/audacious/plugin.h 2>/dev/null | sed 's!.*_AUD_PLUGIN_VERSION[ ]*\\([0-9]\\+\\).*!\\1!') %if 0%{aud_plugin_api} > 0 -%global aud_plugin_dep Requires: audacious(plugin-api) = %{aud_plugin_api} +%global aud_plugin_dep Requires: audacious(plugin-api)%{?_isa} = %{aud_plugin_api} %endif %{?aud_plugin_dep} @@ -18,7 +18,7 @@ Source: http://downloads.sourceforge.net/xmms-fc/audacious-plugin-fc-%{version}. Patch0: audacious-plugin-fc-0.6-aud30.patch Group: Applications/Multimedia -BuildRequires: audacious-devel >= %{aud_ver} +BuildRequires: audacious-devel BuildRequires: libfc14audiodecoder-devel BuildRequires: pkgconfig @@ -53,6 +53,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install %changelog * Fri Sep 16 2011 Michael Schwendt - 0.6-10 +- Depend on audacious(plugin-api)%%{?_isa}. - Drop %%defattr line. * Wed Jul 6 2011 Michael Schwendt - 0.6-9