[audacious-plugins] - Require specific audacious(plugin-api) capability. - Drop Obsoletes for audacious-plugins-arts (la

Michael Schwendt mschwendt at fedoraproject.org
Thu Jan 27 10:59:45 UTC 2011


commit 76b3c364f9d26c75f65b960f5670338ab78f54b8
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Thu Jan 27 11:59:34 2011 +0100

    - Require specific audacious(plugin-api) capability.
    - Drop Obsoletes for audacious-plugins-arts (last in dist-f11-updates).

 audacious-plugins.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index fee071e..de2739b 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -2,11 +2,11 @@
 # dependencies.
 # We need at least 2.4.3 because of the plugin API change after 2.4.0
 # and in 2.4.3
-%define aud_ver 2.4.3
+%global aud_ver 2.4.3
 
 Name: audacious-plugins
 Version: 2.4.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Plugins for the Audacious audio player
 Group: Applications/Multimedia
 URL: http://audacious-media-player.org/
@@ -67,8 +67,7 @@ BuildRequires: neon-devel
 # compatibility with these plugins.
 Requires: audacious >= %{aud_ver}
 
-# last in 1.5.1, tagged dist-f11-updates
-Obsoletes: audacious-plugins-arts
+Requires: audacious(plugin-api) = %(grep '[ ]*#define[ ]*__AUDACIOUS_PLUGIN_API__' %{_includedir}/audacious/plugin.h | sed 's!.*__AUDACIOUS_PLUGIN_API__[ ]*\([0-9]\+\).*!\1!')
 
 # last tagged dist-f12-updates
 # obsolete old subpackage -- no reason to split this off
@@ -250,6 +249,10 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Thu Jan 27 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.3-4
+- Require specific audacious(plugin-api) capability.
+- Drop Obsoletes for audacious-plugins-arts (last in dist-f11-updates).
+
 * Mon Jan 17 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.3-3
 - F15 devel: Move adplug plugin into a subpackage: audacious-plugins-adplug
 - Patch adplug core loaders a bit to prevent stupid crashes when


More information about the scm-commits mailing list