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
This commit is contained in:
Raymond Wooninck 2012-11-20 18:15:58 +00:00 committed by Git OBS Bridge
parent 858b9e43b7
commit 15d6622e2c
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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