Accepting request 1044113 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1044113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netsniff-ng?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2022-12-22 15:22:56 +00:00 committed by Git OBS Bridge
commit 1e7728f19b
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 21 16:15:37 UTC 2022 - Michael Pujos <pujos.michael@gmail.com>
- 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 <mardnh@gmx.de> Mon Jan 11 12:05:14 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package netsniff-ng # spec file for package netsniff-ng
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # 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}" make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}"
%install %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 %files
%license COPYING %license COPYING