Accepting request 592544 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Handle %arm, aarch64 and ppc* properly OBS-URL: https://build.opensuse.org/request/show/592544 OBS-URL: https://build.opensuse.org/package/show/hardware/rtl8812au?expand=0&rev=4
This commit is contained in:
parent
93956090f5
commit
dd33eb09d1
@ -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
|
Thu Mar 1 11:45:59 UTC 2018 - alarrosa@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rtl8812au
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,9 +20,9 @@ Name: rtl8812au
|
|||||||
Version: 5.2.20
|
Version: 5.2.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards
|
Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
URL: https://github.com/gordboy/rtl8812au
|
Url: https://github.com/gordboy/rtl8812au
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: %{name}-preamble
|
Source1: %{name}-preamble
|
||||||
Source2: LICENSE
|
Source2: LICENSE
|
||||||
@ -69,6 +69,15 @@ cp "%{S:2}" source/
|
|||||||
mkdir obj
|
mkdir obj
|
||||||
|
|
||||||
%build
|
%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
|
for flavor in %{flavors_to_build} ; do
|
||||||
cp -a source obj/$flavor
|
cp -a source obj/$flavor
|
||||||
pushd obj/$flavor
|
pushd obj/$flavor
|
||||||
|
Loading…
Reference in New Issue
Block a user