From 8c837de256d41e33cbf9512f7b81077229396266db78f3e216ba7c8d38fb51f9 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Wed, 21 Dec 2022 19:12:22 +0000 Subject: [PATCH] Accepting request 1044101 from home:bobbie424242:branches:network:utilities - fixed build failure caused by make install failing due to make 4.4 behavior change in target ordering when parrallelism is enabled. For this, -j1 is passed to make install to disable parrallelism OBS-URL: https://build.opensuse.org/request/show/1044101 OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=40 --- netsniff-ng.changes | 7 +++++++ netsniff-ng.spec | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/netsniff-ng.changes b/netsniff-ng.changes index 5fe8662..3748866 100644 --- a/netsniff-ng.changes +++ b/netsniff-ng.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 21 16:15:37 UTC 2022 - Michael Pujos + +- fixed build failure caused by make install failing due to make 4.4 + behavior change in target ordering when parrallelism is enabled. + For this, -j1 is passed to make install to disable parrallelism + ------------------------------------------------------------------- Mon Jan 11 12:05:14 UTC 2021 - Martin Hauke diff --git a/netsniff-ng.spec b/netsniff-ng.spec index c8c9999..fba0b14 100644 --- a/netsniff-ng.spec +++ b/netsniff-ng.spec @@ -1,7 +1,7 @@ # # spec file for package netsniff-ng # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -76,7 +76,8 @@ export NACL_INC_DIR=/usr/include/sodium make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}" %install -make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR=%{buildroot} +# disable parrallel execution with -j1 because it cause an error with make 4.4 +make -j1 install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR=%{buildroot} %files %license COPYING