1
0

Accepting request 617733 from home:michals:kernel-test-kmp

- Use %{?linux_make_arch} when building kernel modules (boo#1098050).

OBS-URL: https://build.opensuse.org/request/show/617733
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/xtables-addons?expand=0&rev=116
This commit is contained in:
Jan Engelhardt 2018-06-19 22:01:17 +00:00 committed by Git OBS Bridge
parent d406f8c9d3
commit d378ca15a3
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 19 12:13:06 UTC 2018 - msuchanek@suse.com
- Use %{?linux_make_arch} when building kernel modules (boo#1098050).
-------------------------------------------------------------------
Mon Feb 12 14:18:55 UTC 2018 - jengelh@inai.de

View File

@ -20,7 +20,7 @@ Name: xtables-addons
Version: 3.0
Release: 0
Summary: IP Packet Filter Administration Extensions
License: GPL-2.0 and GPL-2.0+
License: GPL-2.0-only AND GPL-2.0-or-later
Group: Productivity/Networking/Security
Url: http://xtables-addons.sf.net/
@ -72,7 +72,7 @@ for flavor in %flavors_to_build; do
cp -a "%name-%version" "%name-$flavor-%version"
pushd "%name-$flavor-%version/"
%configure --with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor"
make %{?_smp_mflags} V=1
make %{?linux_make_arch} %{?_smp_mflags} V=1
popd
done
@ -81,7 +81,7 @@ b="%buildroot"
pushd ../
for flavor in %flavors_to_build; do
pushd "%name-$flavor-%version/"
make install DESTDIR="$b"
make %{?linux_make_arch} install DESTDIR="$b"
popd
done
# There is no -devel package. So no need for these files.