- Fix spice-glib requires in .pc file (#680314)

This commit is contained in:
Hans de Goede 2011-03-01 15:05:19 +02:00
parent 47b2876916
commit 15aa502b66
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From afd878d0de2449b902e2ed38fb94e86387a2bf3a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
Date: Sun, 20 Feb 2011 21:37:45 +0100
Subject: [PATCH] build: fix spice-client-gtk-3.0.pc requires
---
spice-client-gtk-3.0.pc.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/spice-client-gtk-3.0.pc.in b/spice-client-gtk-3.0.pc.in
index 96e1e5a..ebef093 100644
--- a/spice-client-gtk-3.0.pc.in
+++ b/spice-client-gtk-3.0.pc.in
@@ -7,6 +7,6 @@ Name: spice-client-gtk-3.0
Description: SPICE Client Gtk 3.0 library
Version: @VERSION@
-Requires: @SPICE_REQUIRES@ spice-protocol spice-client-glib-3.0
+Requires: @SPICE_REQUIRES@ spice-protocol spice-client-glib-2.0
Libs: -L${libdir} -lspice-client-gtk-3.0
Cflags: -I${includedir}/spice-client-gtk-3.0
--
1.6.1

View File

@ -11,7 +11,7 @@
Name: spice-gtk
Version: 0.5
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A GTK2 widget for SPICE clients
Group: System Environment/Libraries
@ -38,6 +38,7 @@ BuildRequires: libtool
ExclusiveArch: %{ix86} x86_64
Patch0: spice-gtk-build.patch
Patch1: spice-gtk-0.5-pc-requires.patch
%description
Client libraries for SPICE desktop servers.
@ -119,6 +120,7 @@ snappy is a tool to capture screen-shots of a SPICE desktop.
%prep
%setup -q -n spice-gtk-%{version} -c
%patch0 -p1 -b .build
%patch1 -p1
%if %{with_gtk3}
cp -a spice-gtk-%{version} spice-gtk3-%{version}
@ -219,6 +221,9 @@ rm -rf %{buildroot}
%{_bindir}/spicy
%changelog
* Tue Mar 1 2011 Hans de Goede <hdegoede@redhat.com> - 0.5-6
- Fix spice-glib requires in .pc file (#680314)
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 0.5-5
- Fix build against glib 2.28