# always require a suitable userland
Requires: drbd-utils = %{version}

%if %{defined suse_kernel_module_package}
%if 0%{?sles_version} == 10
%{expand:%(cat %_sourcedir/drbd/preamble-sles10)}

%else
%if 0%{?sles_version} == 11
%{expand:%(cat %_sourcedir/drbd/preamble-sles11)}

%endif
%endif
%else
%if 0%((test -e /etc/redhat-release && grep -q "release 5" /etc/redhat-release) && echo 1)
%{expand:%(cat %_sourcedir/drbd/preamble-rhel5)}

# CentOS:
Conflicts: kmod-drbd82 kmod-drbd83

%endif
%endif
