[audacious-plugin-fc] Depend on audacious(plugin-api)%{?_isa}. Drop %defattr line.

Michael Schwendt mschwendt at fedoraproject.org
Mon Sep 19 10:02:03 UTC 2011


commit eb08c683def713d20f2e886f5569ef5a204b7b46
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Mon Sep 19 12:01:47 2011 +0200

    Depend on audacious(plugin-api)%{?_isa}.
    Drop %defattr line.

 audacious-plugin-fc.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
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 <mschwendt at fedoraproject.org> - 0.6-10
+- Depend on audacious(plugin-api)%%{?_isa}.
 - Drop %%defattr line.
 
 * Wed Jul  6 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 0.6-9


More information about the scm-commits mailing list