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