From fe10d779f34d3fa42a194ac312259ea1aeac0c9529b97f8fd83a78e4629d7f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 15 Oct 2019 08:18:39 +0000 Subject: [PATCH 1/2] Accepting request 738545 from home:pluskalm:branches:network:utilities - Trim CFLAGS OBS-URL: https://build.opensuse.org/request/show/738545 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=51 --- tcpdump.changes | 5 +++++ tcpdump.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tcpdump.changes b/tcpdump.changes index 93f29f1..f41d571 100644 --- a/tcpdump.changes +++ b/tcpdump.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 15 07:53:47 UTC 2019 - Martin Pluskal + +- Trim CFLAGS + ------------------------------------------------------------------- Wed Oct 2 14:01:31 UTC 2019 - Pedro Monreal Gonzalez diff --git a/tcpdump.spec b/tcpdump.spec index cfbe469..715b047 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -22,8 +22,7 @@ Version: 4.9.3 Release: 0 Summary: A Packet Sniffer License: BSD-3-Clause -Group: Productivity/Networking/Diagnostic -Url: https://www.tcpdump.org/ +URL: https://www.tcpdump.org/ Source: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz Source1: tcpdump-qeth Source2: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig @@ -44,10 +43,11 @@ ethernet. It can be used to debug specific network problems. %patch0 -p1 %build -export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing" +# guessing TCO needed in print-ip.c +export CFLAGS="%{optflags} -DGUESS_TSO" %configure \ --enable-ipv6 -make %{?_smp_mflags} +%make_build %install %make_install From 7c53862e904bb0df4375249667758540db757c071ea7e08e4b45de5e972ff847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 15 Oct 2019 11:39:43 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=52 --- tcpdump.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdump.spec b/tcpdump.spec index 715b047..17877fd 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -43,7 +43,7 @@ ethernet. It can be used to debug specific network problems. %patch0 -p1 %build -# guessing TCO needed in print-ip.c +# guessing TSO needed in print-ip.c export CFLAGS="%{optflags} -DGUESS_TSO" %configure \ --enable-ipv6