diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-03-01 15:05:19 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-03-01 15:05:19 +0200 |
commit | 15aa502b66f1feeeba9cfbdb1a6cb470e0f3dc4c (patch) | |
tree | e884ded3ac1f9f577961e5dc5a8fdfda696ecc1b | |
parent | 47b28769168e284d347ebe69ff04d5f8fa7eb107 (diff) |
- Fix spice-glib requires in .pc file (#680314)
-rw-r--r-- | spice-gtk-0.5-pc-requires.patch | 24 | ||||
-rw-r--r-- | spice-gtk.spec | 7 |
2 files changed, 30 insertions, 1 deletions
diff --git a/spice-gtk-0.5-pc-requires.patch b/spice-gtk-0.5-pc-requires.patch new file mode 100644 index 0000000..f127cbb --- /dev/null +++ b/spice-gtk-0.5-pc-requires.patch @@ -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 + diff --git a/spice-gtk.spec b/spice-gtk.spec index f7611b6..5eb0195 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -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 |