Accepting request 743961 from network:utilities

- Trim CFLAGS

OBS-URL: https://build.opensuse.org/request/show/743961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2019-11-03 10:26:45 +00:00 committed by Git OBS Bridge
commit dc2a1dd2d7
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 15 07:53:47 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Trim CFLAGS
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 2 14:01:31 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> Wed Oct 2 14:01:31 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -22,8 +22,7 @@ Version: 4.9.3
Release: 0 Release: 0
Summary: A Packet Sniffer Summary: A Packet Sniffer
License: BSD-3-Clause 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 Source: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz
Source1: tcpdump-qeth Source1: tcpdump-qeth
Source2: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig 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 %patch0 -p1
%build %build
export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing" # guessing TSO needed in print-ip.c
export CFLAGS="%{optflags} -DGUESS_TSO"
%configure \ %configure \
--enable-ipv6 --enable-ipv6
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install