From a66bde3356490b41f97cdc7f551e8827f6adc13a Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Apr 27 2014 21:04:15 +0000 Subject: Add a guard for pkg-config based plugin_dir in %prep --- diff --git a/audacious-plugin-fc.spec b/audacious-plugin-fc.spec index a0e8a17..1ff2a39 100644 --- a/audacious-plugin-fc.spec +++ b/audacious-plugin-fc.spec @@ -32,6 +32,9 @@ music files from AMIGA. Song-length detection and seek are implemented, too. # Enforce availability of the audacious(plugin-api) dependency. %{!?aud_plugin_dep:echo 'No audacious(plugin-api) dependency!' && exit -1} +# just a guard +pkg-config --print-variables audacious | grep ^plugin_dir + %setup -q %patch0 -p1 -b .old-api autoreconf -fi @@ -53,6 +56,9 @@ make DESTDIR=${RPM_BUILD_ROOT} install %changelog +* Sun Apr 27 2014 Michael Schwendt +- Add a guard for pkg-config based plugin_dir in %%prep + * Sat Mar 1 2014 Michael Schwendt - 0.7-5 - Run autoreconf -fi to prevent build failure with Rawhide.