diff --git a/libmnl.spec b/libmnl.spec index 54b8b05..cc0d480 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -9,7 +9,12 @@ URL: http://netfilter.org/projects/libmnl/ Source: %name-%version.tar.xz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: linux-glibc-devel, pkg-config, xz +BuildRequires: pkg-config >= 0.19, xz +%if 0%{?suse_version} < 1130 +BuildRequires: linux-kernel-headers +%else +BuildRequires: linux-glibc-devel +%endif Summary: Minimalistic Netlink communication library %description