Browse Source

correct OS detection

master
parent
commit
bdbec1bc44
  1. 4
      tcpdump/tcpdump.spec

4
tcpdump/tcpdump.spec

@ -36,7 +36,7 @@ Class: BASE
Group: Capturing
License: GPL
Version: %{V_tarball}
Release: 20120103
Release: 20120521
# list of sources
Source0: http://www.tcpdump.org/release/tcpdump-%{V_tarball}.tar.gz
@ -67,7 +67,7 @@ PreReq: libpcap, openssl
%build
options=""
case "%{l_platform -t}" in
*-freebsd[5-8].* | *-sunos5.1[01] | *-sunos5.9 | *-linux2.[46]* )
*-freebsd[5-9].* | *-sunos5.1[01] | *-sunos5.9 | *-linux2.[46]* | *-linux3.* )
options="--enable-ipv6"
;;
esac

Loading…
Cancel
Save