From ca984c3113b3dca563a2f8f99e3b6ba9ca7261278fdc51a0fc57ebd68e634de7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 11 Nov 2020 11:22:27 +0000 Subject: [PATCH] Accepting request 847762 from home:mwilck:branches:network:utilities - Fix build error on SLE12 (%make_build not defined) OBS-URL: https://build.opensuse.org/request/show/847762 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iptraf-ng?expand=0&rev=11 --- iptraf-ng.changes | 5 +++++ iptraf-ng.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/iptraf-ng.changes b/iptraf-ng.changes index e2c8547..3e463f7 100644 --- a/iptraf-ng.changes +++ b/iptraf-ng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 11 10:52:12 UTC 2020 - Martin Wilck + +- Fix build error on SLE12 (%make_build not defined) + ------------------------------------------------------------------- Sun Aug 16 14:11:17 UTC 2020 - Dirk Mueller diff --git a/iptraf-ng.spec b/iptraf-ng.spec index 93af635..53503e4 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -41,7 +41,7 @@ breakdowns, and LAN station packet and byte counts. %autosetup -n %name-%version -p1 %build -%make_build CFLAGS="%optflags -D_GNU_SOURCE" +%{?make_build}%{!?make_build:make %{?_smp_mflags}} CFLAGS="%optflags -D_GNU_SOURCE" %install %make_install prefix="%_prefix" V=1