[audacious] - Provide versioned capability audacious(plugin-api) as something much more specific for plugin pa

Michael Schwendt mschwendt at fedoraproject.org
Thu Jan 27 10:53:14 UTC 2011


commit 998d4e91dedcc4633c881ecfafd55a1089bc6475
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Thu Jan 27 11:53:04 2011 +0100

    - Provide versioned capability audacious(plugin-api) as something much more
      specific for plugin packages to require.

 audacious.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/audacious.spec b/audacious.spec
index 7964666..0ee346e 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -11,7 +11,7 @@ Provides: audacious(plugin-api) = %{aud_plugin_api}
 
 Name: audacious
 Version: 2.4.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 License: GPLv3
 Summary: Advanced audio player
@@ -86,7 +86,7 @@ Files needed when building software for the Audacious audio player.
 %setup -q -n %{name}-%{version}
 
 # Verify the value of the audacious(plugin-api) Provides.
-api=$(grep '[ ]*#define[ ]*__AUDACIOUS_PLUGIN_API__' ${RPM_BUILD_ROOT}/usr/include/audacious/plugin.h | sed 's!.*__AUDACIOUS_PLUGIN_API__[ ]*\([0-9]\+\).*!\1!')
+api=$(grep '[ ]*#define[ ]*__AUDACIOUS_PLUGIN_API__' src/audacious/plugin.h | sed 's!.*__AUDACIOUS_PLUGIN_API__[ ]*\([0-9]\+\).*!\1!')
 [ "${api}" == "%{aud_plugin_api}" ] || exit -1
 
 %patch1 -p1 -b .enable-gnomeshortcuts
@@ -200,7 +200,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
-* Thu Jan 27 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.3-2
+* Thu Jan 27 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.3-3
 - Provide versioned capability audacious(plugin-api) as something much more
   specific for plugin packages to require.
 


More information about the scm-commits mailing list