[audacious-plugins] Move plugin-api guard to %build section to allow for --nodeps %prep.

Michael Schwendt mschwendt at fedoraproject.org
Sat Dec 10 09:51:07 UTC 2011


commit e77fd792d16b7dbab004acfccbdc5bf3b3e88370
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Sat Dec 10 10:51:04 2011 +0100

    Move plugin-api guard to %build section to allow for --nodeps %prep.

 audacious-plugins.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index cb9f68e..02d6680 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -135,8 +135,6 @@ providers may build it with libsidplay 2 instead.
 
 
 %prep
-# Enforce availability of the audacious(plugin-api) dependency.
-%{!?aud_plugin_dep:echo 'No audacious(plugin-api) dependency!' && exit -1}
 %setup -q -n %{name}-%{tar_ver}-fedora
 %patch0 -p1 -b .xmms-skindir
 %patch1 -p1 -b .enable-gnomeshortcuts
@@ -153,6 +151,9 @@ sed -i '\,^.SILENT:,d' buildsys.mk.in
 
 
 %build
+# Enforce availability of the audacious(plugin-api) dependency.
+%{!?aud_plugin_dep:echo 'No audacious(plugin-api) dependency!' && exit -1}
+
 %configure  \
     --disable-aac  \
     --disable-ffaudio  \
@@ -242,6 +243,9 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Sat Dec 10 2011 Michael Schwendt <mschwendt at fedoraproject.org>
+- Move plugin-api guard to %%build section to allow for --nodeps %%prep.
+
 * Tue Dec  6 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 3.1.1-1
 - Update to 3.1.1.
 


More information about the scm-commits mailing list