forked from pool/libmetalink
fix build
OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=5
This commit is contained in:
parent
66a90c5baf
commit
40c32f9279
@ -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
|
Sun Nov 1 23:48:44 UTC 2009 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@ -13,6 +13,12 @@ Group: System/Libraries
|
|||||||
License: MIT
|
License: MIT
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
BuildRequires: gcc make glibc-devel pkgconfig
|
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
|
BuildRequires: autoconf automake libtool
|
||||||
%if 0%{?suse_version} >= 1030
|
%if 0%{?suse_version} >= 1030
|
||||||
BuildRequires: licenses
|
BuildRequires: licenses
|
||||||
@ -62,7 +68,9 @@ Metalink XML files.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static
|
--disable-static \
|
||||||
|
--with-libexpat \
|
||||||
|
--with-libxml2
|
||||||
|
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user