# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
-%define rel 6
+%define rel 9
%define snap 20140901
%define pname rtl8812au
Summary: Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
License: GPL
Group: Base/Kernel
#Source0: https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master/%{name}-%{version}-%{snap}.tar.gz
-Source0: https://github.com/austinmarton/rtl8812au_linux/archive/master/%{name}-%{version}-%{snap}.tar.gz
+Source0: https://github.com/austinmarton/rtl8812au_linux/archive/master/%{pname}-%{version}-%{snap}.tar.gz
# Source0-md5: 693825ab344b68a1217f20ab8dd98b82
# good luck finding this chip on Realtek website :/
#URL: http://www.realtek.com.tw/
Patch4: warnings.patch
Patch5: gcc-4.9.patch
Patch6: linux-3.18.patch
+Patch7: linux-4.0.patch
+Patch8: linux-4.1.patch
+Patch9: linux-4.2.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)
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
%build
%{expand:%build_kernel_packages}