# Conditional build:
-%bcond_without dist_kernel # allow non-distribution kernel
%bcond_with verbose # verbose build (V=1)
%if "%{_alt_kernel}" != "%{nil}"
Patch0: linux-3.15.patch
Patch1: linux-3.16.patch
BuildRequires: rpmbuild(macros) >= 1.678
-%{?with_dist_kernel:%{expand:%kbrs}}
+%{expand:%kbrs}
BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
%description
Release: %{rel}@%{_kernel_ver_str}\
Group: Base/Kernel\
Requires(post,postun): /sbin/depmod\
-%if %{with dist_kernel}\
%requires_releq_kernel\
Requires(postun): %releq_kernel\
-%endif\
\
%description -n kernel%{_alt_kernel}-net-r8168\
Driver (Linux kernel module) for RTL8111/8168B PCI Express Gigabit\