[audacious-plugin-fc] Add a guard for pkg-config based plugin_dir in %prep
Michael Schwendt
mschwendt at fedoraproject.org
Sun Apr 27 21:04:19 UTC 2014
commit a66bde3356490b41f97cdc7f551e8827f6adc13a
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sun Apr 27 23:04:15 2014 +0200
Add a guard for pkg-config based plugin_dir in %prep
audacious-plugin-fc.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
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 <mschwendt at fedoraproject.org>
+- Add a guard for pkg-config based plugin_dir in %%prep
+
* Sat Mar 1 2014 Michael Schwendt <mschwendt at fedoraproject.org> - 0.7-5
- Run autoreconf -fi to prevent build failure with Rawhide.
More information about the scm-commits
mailing list