-URL: http://www.realtek.com.tw/
-#Source0: https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/v%{version}/%{name}-%{version}.tar.gz
-Source0: https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master/%{name}-%{version}-%{snap}.tar.gz
-# Source0-md5: 988810755bc6e687d358475861a2a6ca
-Patch0: disable-CONFIG_IOCTL_CFG80211.patch
-Patch1: usb-ids.patch
-BuildRequires: rpmbuild(macros) >= 1.678
-%{?with_dist_kernel:%{expand:%kbrs}}
+#Source0: https://github.com/abperiasamy/rtl8812AU_8821AU_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/
+URL: https://github.com/austinmarton/rtl8812au_linux
+Patch0: linux-3.11.patch
+Patch1: disable-debug.patch
+Patch2: enable-cfg80211-support.patch
+Patch3: update-cfg80211-support.patch
+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
+Patch10: linux-4.3.patch
+Patch11: linux-4.6.patch
+Patch12: linux-4.7.patch
+Patch13: linux-4.8.patch
+Patch14: linux-4.11.patch
+Patch15: linux-4.11.9.patch
+Patch16: linux-4.12.patch
+BuildRequires: rpmbuild(macros) >= 1.701
+%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}