From 02d6a771bf1d06b3a4402989e601a81841114e2869062660e722cfe56b536b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 30 Aug 2018 12:26:35 +0000 Subject: [PATCH] Accepting request 632303 from home:alarrosa:branches:hardware - Update to version 5.2.20.2 * Update phydm to improve TP stability * Support WiFi-HAL for Android 8 * Build with kernel 4.19 - Drop patch allow-reproducible-builds.patch which was merged upstream by gordboy - Fix build with Leap 15 by parsing correctly the lp150 suffix Fix old changelog entries which were incomplete: - Dropped patches already upstream: * 0001-add-support-for-kernel-4.11.patch * 0002-add-support-for-kernel-4.12.patch * 0003-Fix-build-with-kernel-4.11.9.patch * 0004-Fix-for-Linux-kernel-4.12.5.patch - Added patch: * allow-reproducible-builds.patch - Added LICENSE file from upstream OBS-URL: https://build.opensuse.org/request/show/632303 OBS-URL: https://build.opensuse.org/package/show/hardware/rtl8812au?expand=0&rev=6 --- _service | 2 +- allow-reproducible-builds.patch | 12 ------------ rtl8812au-5.2.20.2.tar.xz | 3 +++ rtl8812au-5.2.20.tar.xz | 3 --- rtl8812au.changes | 24 ++++++++++++++++++++++++ rtl8812au.spec | 13 ++++++------- 6 files changed, 34 insertions(+), 23 deletions(-) delete mode 100644 allow-reproducible-builds.patch create mode 100644 rtl8812au-5.2.20.2.tar.xz delete mode 100644 rtl8812au-5.2.20.tar.xz diff --git a/_service b/_service index ce27c34..dceabe8 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/gordboy/rtl8812au git - 5.2.20 + 5.2.20.2 master rtl8812au diff --git a/allow-reproducible-builds.patch b/allow-reproducible-builds.patch deleted file mode 100644 index 577caf4..0000000 --- a/allow-reproducible-builds.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: rtl8812au-5.2.20/core/rtw_debug.c -=================================================================== ---- rtl8812au-5.2.20.orig/core/rtw_debug.c -+++ rtl8812au-5.2.20/core/rtw_debug.c -@@ -42,7 +42,6 @@ const char *rtw_log_level_str[] = { - void dump_drv_version(void *sel) - { - RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION); -- RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__); - } - - void dump_drv_cfg(void *sel) diff --git a/rtl8812au-5.2.20.2.tar.xz b/rtl8812au-5.2.20.2.tar.xz new file mode 100644 index 0000000..5c557dc --- /dev/null +++ b/rtl8812au-5.2.20.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af8f2d63b5c2b73e76662236aed738510a0cac62fe0e3a5df72afde079795794 +size 1606828 diff --git a/rtl8812au-5.2.20.tar.xz b/rtl8812au-5.2.20.tar.xz deleted file mode 100644 index de55f08..0000000 --- a/rtl8812au-5.2.20.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb6675f57a5b64baee84a71d97dee3fc0f3da547233233d76b79787e2eb2b71c -size 1599396 diff --git a/rtl8812au.changes b/rtl8812au.changes index 80dd90b..b6e35fc 100644 --- a/rtl8812au.changes +++ b/rtl8812au.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Aug 30 11:50:59 UTC 2018 - alarrosa@suse.com + +- Update to version 5.2.20.2 + * Update phydm to improve TP stability + * Support WiFi-HAL for Android 8 + * Build with kernel 4.19 + +- Drop patch allow-reproducible-builds.patch which was + merged upstream by gordboy + +- Fix build with Leap 15 by parsing correctly the lp150 suffix + ------------------------------------------------------------------- Fri Mar 30 09:20:00 UTC 2018 - guillaume.gardet@opensuse.org @@ -9,6 +22,17 @@ Thu Mar 1 11:45:59 UTC 2018 - alarrosa@suse.com - Update to 5.2.20 from https://github.com/gordboy/rtl8812au. This includes support for kernel 4.15 and VHT extras. +- Dropped patches already upstream: + * 0001-add-support-for-kernel-4.11.patch + * 0002-add-support-for-kernel-4.12.patch + * 0003-Fix-build-with-kernel-4.11.9.patch + * 0004-Fix-for-Linux-kernel-4.12.5.patch + +- Added patch: + * allow-reproducible-builds.patch + +- Added LICENSE file from upstream + ------------------------------------------------------------------- Thu Oct 19 13:39:01 UTC 2017 - alarrosa@suse.com diff --git a/rtl8812au.spec b/rtl8812au.spec index 523c66e..5ca58a7 100644 --- a/rtl8812au.spec +++ b/rtl8812au.spec @@ -17,7 +17,7 @@ Name: rtl8812au -Version: 5.2.20 +Version: 5.2.20.2 Release: 0 Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards License: GPL-2.0-only @@ -26,7 +26,6 @@ Url: https://github.com/gordboy/rtl8812au Source0: %{name}-%{version}.tar.xz Source1: %{name}-preamble Source2: LICENSE -Patch0: allow-reproducible-builds.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: bc BuildRequires: binutils @@ -60,7 +59,6 @@ https://github.com/maurossi/rtl8812au/ . %prep %setup -q -%patch0 -p1 set -- * mkdir source @@ -89,16 +87,17 @@ done %install export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=%{kernel_module_package_moddir} -kernel_version=`uname -r | sed -e "s/\(-[0-9\.]*\)-.*/\1/"` +kernel_version=`uname -r | sed -e "s/-[^-]*$//"` + echo ${kernel_version} for flavor in %{flavors_to_build} ; do pushd obj/$flavor - install -d %{buildroot}/lib/modules/${kernel_version}-$flavor/${INSTALL_MOD_DIR}/ - install -p -m 644 8812au.ko %{buildroot}/lib/modules/${kernel_version}-$flavor/${INSTALL_MOD_DIR}/ + install -d %{buildroot}/lib/modules/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/ + install -p -m 644 8812au.ko %{buildroot}/lib/modules/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/ popd done %files -%license source/LICENSE +%license source/LICENSE %changelog