[audacious] Remove undefined @PC_REQUIRES@ in audclient.pc file.

Michael Schwendt mschwendt at fedoraproject.org
Mon Jan 2 18:02:50 UTC 2012


commit b829edc0fb5c5b8a4d55a78329d275de16d0db98
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Mon Jan 2 19:02:45 2012 +0100

    Remove undefined @PC_REQUIRES@ in audclient.pc file.

 audacious.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/audacious.spec b/audacious.spec
index 51103b2..064c437 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -8,7 +8,7 @@
 
 Name: audacious
 Version: 3.2
-Release: 0.2.beta1%{?dist}
+Release: 0.3.beta1%{?dist}
 
 License: GPLv3
 Summary: Advanced audio player
@@ -101,6 +101,10 @@ api_min=$(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION_MIN' src/audacious/plugin.h |
 
 sed -i '\,^.SILENT:,d' buildsys.mk.in
 
+# Audacious #28
+sed -i '\,^Requires: @PC_REQUIRES@,d' audclient.pc.in
+grep -q @PC_ *.pc.in && exit 1
+
 
 %build
 %configure  \
@@ -179,6 +183,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Mon Jan  2 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2-0.3.beta1
+- Remove undefined @PC_REQUIRES@ in audclient.pc file.
+
 * Mon Jan  2 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2-0.2.beta1
 - Generic plugin API/ABI bumped to 38, also the minimum.
 - Update to 3.2-beta1.


More information about the scm-commits mailing list