From 15d6622e2c10ed28ba79ef65bb93ed947307dcc51233ec1d8a26161a8ae65e18 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Tue, 20 Nov 2012 18:15:58 +0000 Subject: [PATCH] Accepting request 142141 from home:cgiboudeaux:branches:X11:common:Factory Fix the SLES build: pkgconfig(libxml-2.0) failed OBS-URL: https://build.opensuse.org/request/show/142141 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/raptor?expand=0&rev=30 --- raptor.changes | 5 +++++ raptor.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/raptor.changes b/raptor.changes index 692772f..4ff1f7c 100644 --- a/raptor.changes +++ b/raptor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 20 14:35:06 UTC 2012 - cgiboudeaux@gmx.com + +- Fix build on SLES: pkgconfig(libxml-2.0) fails + ------------------------------------------------------------------- Mon Jul 16 09:46:59 UTC 2012 - cfarrell@suse.com diff --git a/raptor.spec b/raptor.spec index 33dae7a..df82a94 100644 --- a/raptor.spec +++ b/raptor.spec @@ -29,7 +29,12 @@ BuildRequires: autoconf BuildRequires: curl-devel BuildRequires: libxslt-devel BuildRequires: pkg-config +%if !0%{?sles_version} BuildRequires: pkgconfig(libxml-2.0) +%else +BuildRequires: libxml2-devel +%endif + BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -79,9 +84,6 @@ unset MALLOC_CHECK_ %postun -n libraptor2-0 -p /sbin/ldconfig -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README