diff --git a/libmetalink.changes b/libmetalink.changes index ac37b77..eed39cc 100644 --- a/libmetalink.changes +++ b/libmetalink.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 8 21:07:05 UTC 2009 - pascal.bleser@opensuse.org + +- add support for libxml2 and expat, which makes the build include + all API functions, unlike the previous, crippled builds + ------------------------------------------------------------------- Sun Nov 1 23:48:44 UTC 2009 - pascal.bleser@opensuse.org diff --git a/libmetalink.spec b/libmetalink.spec index aeb998d..d47f33e 100644 --- a/libmetalink.spec +++ b/libmetalink.spec @@ -13,6 +13,12 @@ Group: System/Libraries License: MIT BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gcc make glibc-devel pkgconfig +BuildRequires: libxml2-devel +%if 0%{?suse_version} >= 1030 +BuildRequires: libexpat-devel +%else +BuildRequires: expat +%endif BuildRequires: autoconf automake libtool %if 0%{?suse_version} >= 1030 BuildRequires: licenses @@ -62,7 +68,9 @@ Metalink XML files. %build %configure \ - --disable-static + --disable-static \ + --with-libexpat \ + --with-libxml2 %__make %{?jobs:-j%{jobs}}