Jan Engelhardt 2014-03-09 17:24:31 +00:00 committed by Git OBS Bridge
parent bdc8b0ab6c
commit c0516c6522

View File

@ -35,22 +35,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires: pkgconfig(libmnl) >= 1
%else
BuildRequires: libmnl-devel >= 1
%endif
%if 0%{?suse_version} >= 1140
BuildRequires: linux-glibc-devel >= 2.6.24 BuildRequires: linux-glibc-devel >= 2.6.24
%endif BuildRequires: pkgconfig >= 0.21
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 BuildRequires: pkgconfig(libmnl) >= 1
BuildRequires: linux-kernel-headers >= 2.6.24
%endif
%if 0%{?redhat_version} || 0%{?centos_version} || 0%{?fedora_version}
BuildRequires: kernel-headers >= 2.6.24
%endif
%if 0%{?suse_version}
# Make quilt happy # Make quilt happy
%if 0%{?kernel_module_package_buildreqs:1} %if 0%{?kernel_module_package_buildreqs:1}
%define with_kmp 1 %define with_kmp 1
@ -58,7 +45,6 @@ BuildRequires: %kernel_module_package_buildreqs
%endif %endif
BuildRequires: kernel-syms >= 2.6.39 BuildRequires: kernel-syms >= 2.6.39
Recommends: %name-kmp Recommends: %name-kmp
%endif
%if 0%{?with_kmp:1} %if 0%{?with_kmp:1}
%kernel_module_package -p %name-preamble %kernel_module_package -p %name-preamble