Fedora has no mxml
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnftnl?expand=0&rev=4
This commit is contained in:
parent
9e3fedd5b8
commit
f89de3cdba
@ -32,7 +32,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: pkgconfig(jansson) >= 2.3
|
||||
BuildRequires: pkgconfig(libmnl) >= 1.0.3
|
||||
%if 0%{?suse_version}
|
||||
# Fedora does not have
|
||||
BuildRequires: pkgconfig(mxml) >= 2.6
|
||||
%endif
|
||||
|
||||
%description
|
||||
libnftnl is a userspace library providing a low-level netlink
|
||||
@ -62,7 +65,10 @@ applications that want to make use of libnftnl.
|
||||
%setup -qn %name
|
||||
|
||||
%build
|
||||
%configure --includedir="%_includedir/pkg" --with-xml-parsing \
|
||||
%configure --includedir="%_includedir/pkg" \
|
||||
%if 0%{?suse_version}
|
||||
--with-xml-parsing \
|
||||
%endif
|
||||
--with-json-parsing
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user