[audacious-plugins] keep spec compatible with F14

Michael Schwendt mschwendt at fedoraproject.org
Mon Jan 17 23:11:22 UTC 2011


commit 5514dbff66a453c27146f1dc8e5ba0f1f9361151
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Tue Jan 18 00:10:28 2011 +0100

    keep spec compatible with F14

 audacious-plugins.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index ce8aa02..fee071e 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -107,6 +107,7 @@ This package provides an Audacious output plugin that uses the
 Jack Audio Connection Kit (JACK) sound service.
 
 
+%if 0%{?fedora} > 14
 %package adplug
 Summary: Audacious input plugin for AdLib/OPL based file formats
 Group: Applications/Multimedia
@@ -116,6 +117,7 @@ Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
 This package provides an AdLib emulator based on the AdPlug library.
 It is only needed for playing exotic audio files, such as those from
 AdLib/OPL2/3 based sound trackers.
+%endif
 
 
 %package amidi
@@ -217,7 +219,9 @@ update-desktop-database &> /dev/null || :
 %{_libdir}/audacious/General/
 %{_libdir}/audacious/Visualization/
 %{_libdir}/audacious/Transport/
+%if 0%{?fedora} > 14
 %exclude %{_libdir}/audacious/Input/adplug.so
+%endif
 %exclude %{_libdir}/audacious/Input/amidi-plug.so
 %exclude %{_libdir}/audacious/Input/amidi-plug/
 %exclude %{_libdir}/audacious/Input/sid.so
@@ -228,9 +232,11 @@ update-desktop-database &> /dev/null || :
 %defattr(-,root,root,-)
 %{_libdir}/audacious/Output/jackout.so
 
+%if 0%{?fedora} > 14
 %files adplug
 %defattr(-,root,root,-)
 %{_libdir}/audacious/Input/adplug.so
+%endif
 
 %files amidi
 %defattr(-,root,root,-)
@@ -245,7 +251,7 @@ update-desktop-database &> /dev/null || :
 
 %changelog
 * Mon Jan 17 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.3-3
-- Move adplug plugin into a subpackage: audacious-plugins-adplug
+- F15 devel: Move adplug plugin into a subpackage: audacious-plugins-adplug
 - Patch adplug core loaders a bit to prevent stupid crashes when
   loading either damaged or incorrectly parsed files into the playlist.
 


More information about the scm-commits mailing list