[Spice-devel] [PATCH spice-gtk 1/3] build: move @SPICE_GLIB_REQUIRES@ to Requires.private

Hans de Goede hdegoede at redhat.com
Thu Mar 8 01:43:02 PST 2012


Looks good, ack series.

Regards,

Hans

On 03/07/2012 09:09 PM, Marc-André Lureau wrote:
> 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


More information about the Spice-devel mailing list