[audacious-plugin-fc] finalize the audacious(plugin-api) dep and submit build job
Michael Schwendt
mschwendt at fedoraproject.org
Fri Jan 28 11:28:07 UTC 2011
commit 0e0c92e178d7f1a386e8d691c7d4502521f5daf0
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Fri Jan 28 12:27:56 2011 +0100
finalize the audacious(plugin-api) dep and submit build job
audacious-plugin-fc.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/audacious-plugin-fc.spec b/audacious-plugin-fc.spec
index 2d63253..9eae01a 100644
--- a/audacious-plugin-fc.spec
+++ b/audacious-plugin-fc.spec
@@ -1,14 +1,14 @@
+# Minimum audacious/audacious-plugins version in inter-package dependencies.
+%global aud_ver 2.4.3
+
%if 0%{?fedora} > 14
%global aud_plugin_api %(grep '[ ]*#define[ ]*__AUDACIOUS_PLUGIN_API__' %{_includedir}/audacious/plugin.h 2>/dev/null | sed 's!.*__AUDACIOUS_PLUGIN_API__[ ]*\\([0-9]\\+\\).*!\\1!')
%if %(test -f %{_includedir}/audacious/plugin.h && echo 1 || echo 0)
Requires: audacious(plugin-api) = %{aud_plugin_api}
%endif
-%endif
-
-# Minimum audacious/audacious-plugins version in inter-package
-# dependencies. We need 2.4 for both.
-%global aud_ver 2.4.2
+%else
Requires: audacious >= %{aud_ver}
+%endif
%global plugindir %(pkg-config audacious --variable=input_plugin_dir)
More information about the scm-commits
mailing list