From 40c32f9279bf2deb083137b6d7b93affc7f437db3d33b9072517f942e041c437 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 8 Nov 2009 21:07:53 +0000 Subject: [PATCH] fix build OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=5 --- libmetalink.changes | 6 ++++++ libmetalink.spec | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) 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}}