# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
-%define rel 2
+%define rel 1
%define pname r8168
Summary: Linux driver for RTL8111/8168B PCI Express Gigabit Ethernet controllers
Summary(pl.UTF-8): Linuksowy sterownik dla kart sieciowych RTL8111/8168B PCI Express Gigabit Ethernet
Name: %{pname}%{_alt_kernel}
-Version: 8.042.00
+Version: 8.045.08
Release: %{rel}%{?_pld_builder:@%{_kernel_ver_str}}
License: GPL
Group: Base/Kernel
# http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
# unfortunately this download is not DF-friendly.
Source0: %{pname}-%{version}.tar.bz2
-# Source0-md5: 2c583809d1ebf26ed7f5e775c83e68e0
-Patch0: linux-4.5.patch
-Patch1: linux-4.7.patch
-Patch2: linux-4.11.patch
+# Source0-md5: 474442fe528aee9bbc3c7e9a19debcb5
+Patch0: kernel-4.15.patch
BuildRequires: rpmbuild(macros) >= 1.701
%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
%prep
%setup -q -n %{pname}-%{version}
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
%{expand:%build_kernel_packages}