The libraries listed in Requires aren't needed during build time, they
are library depedencies. And since this is only needed if linking
statically, we can safely move them to Requires.private.

Succesfully tested change with compilation against virt-viewer.

Later, this will also help fixing bug rhbz #799112.
---
 spice-client-glib-2.0.pc.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/spice-client-glib-2.0.pc.in b/spice-client-glib-2.0.pc.in
index 738862e..27d6886 100644
--- a/spice-client-glib-2.0.pc.in
+++ b/spice-client-glib-2.0.pc.in
@@ -7,6 +7,7 @@ Name: spice-client-glib-2.0
 Description: SPICE Client GLib 2.0 library
 Version: @VERSION@
 
-Requires: @SPICE_GLIB_REQUIRES@ spice-protocol
+Requires: spice-protocol
+Requires.private: @SPICE_GLIB_REQUIRES@
 Libs: -L${libdir} -lspice-client-glib-2.0
 Cflags: -I${includedir}/spice-client-glib-2.0
-- 
1.7.7.6

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to