From 0c4a4f34f31453cdbf8c618d81afec5c76b7ccb8 Mon Sep 17 00:00:00 2001 From: sparky Date: Sun, 23 Jan 2011 14:07:51 +0000 Subject: [PATCH] - do not require glib2-devel, simply remove gobject and glib references from cairo.pc - release: 4 Changed files: cairo.spec -> 1.122 --- cairo.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cairo.spec b/cairo.spec index a76575e..2eb768e 100644 --- a/cairo.spec +++ b/cairo.spec @@ -12,7 +12,7 @@ Summary: Cairo - multi-platform 2D graphics library Summary(pl.UTF-8): Cairo - wieloplatformowa biblioteka graficzna 2D Name: cairo Version: 1.10.2 -Release: 3 +Release: 4 License: LGPL v2.1 or MPL v1.1 Group: Libraries Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz @@ -33,6 +33,7 @@ BuildRequires: pixman-devel >= 0.18.4 BuildRequires: pkgconfig >= 1:0.9 BuildRequires: poppler-glib-devel >= 0.13.3 BuildRequires: rpm >= 4.4.9-56 +BuildRequires: sed >= 4.0 %if %{with xcb} BuildRequires: libxcb-devel >= 1.4 %endif @@ -82,7 +83,6 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: fontconfig-devel >= 2.2.95 Requires: freetype-devel >= 1:2.3.0 -Requires: glib2-devel >= 1:2.0 Requires: libpng-devel >= 2:1.4.0 %{?with_xcb:Requires: libxcb-devel >= 1.4} Requires: pixman-devel >= 0.18.4 @@ -193,6 +193,9 @@ Dokumentacja API Cairo. --enable-ps \ %{?with_xcb:--enable-xcb} \ --with-html-dir=%{_gtkdocdir} + +%{__sed} -i 's/gobject-2.0 glib-2.0//' src/cairo.pc + %{__make} %{?with_tests:%{__make} check} -- 2.44.0