%undefine with_dist_kernel
%endif
-%define rel 35
+%define rel 1
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: r8168
-Version: 8.019.00
+Version: 8.029.00
Release: %{rel}
License: GPL
Group: Base/Kernel
# Check for new versions at
# 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: http://execve.pl/PLD/%{name}-%{version}.tar.bz2
-# Source0-md5: f6934fc5df1dfb5fea82e4a310568890
+Source0: %{name}-%{version}.tar.bz2
+# Source0-md5: 5dc15a976950250b7b543876cc3350a8
+Patch0: r8168-kernel-3.3.patch
%if %{with kernel}
%if %{with dist_kernel}
BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.33
%prep
%setup -q
+%patch0 -p1
%build
%if %{with kernel}
-%build_kernel_modules -m r8168 -C src
+%build_kernel_modules -m r8168 -C src KERNELRELEASE=%{_kernel_ver}
%endif
%install