diff --git a/rtl8812au.changes b/rtl8812au.changes index fc9a5d7..80dd90b 100644 --- a/rtl8812au.changes +++ b/rtl8812au.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 30 09:20:00 UTC 2018 - guillaume.gardet@opensuse.org + +- Handle %arm, aarch64 and ppc* properly + ------------------------------------------------------------------- Thu Mar 1 11:45:59 UTC 2018 - alarrosa@suse.com diff --git a/rtl8812au.spec b/rtl8812au.spec index e1ab485..523c66e 100644 --- a/rtl8812au.spec +++ b/rtl8812au.spec @@ -1,7 +1,7 @@ # # spec file for package rtl8812au # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,9 +20,9 @@ Name: rtl8812au Version: 5.2.20 Release: 0 Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards -License: GPL-2.0 +License: GPL-2.0-only Group: System/Kernel -URL: https://github.com/gordboy/rtl8812au +Url: https://github.com/gordboy/rtl8812au Source0: %{name}-%{version}.tar.xz Source1: %{name}-preamble Source2: LICENSE @@ -69,6 +69,15 @@ cp "%{S:2}" source/ mkdir obj %build +%ifarch %arm +export ARCH=arm +%endif +%ifarch aarch64 +export ARCH=arm64 +%endif +%ifarch %ppc ppc64 ppc64le +export ARCH=powerpc +%endif for flavor in %{flavors_to_build} ; do cp -a source obj/$flavor pushd obj/$flavor