Removed dependency on GeoIP on RHEL.
This commit is contained in:
parent
4ef1f1fa3b
commit
df20f811b5
@ -4,14 +4,16 @@
|
|||||||
%global with_lua 1
|
%global with_lua 1
|
||||||
%if 0%{?rhel} != 0
|
%if 0%{?rhel} != 0
|
||||||
%global with_portaudio 0
|
%global with_portaudio 0
|
||||||
|
%global with_GeoIP 0
|
||||||
%else
|
%else
|
||||||
%global with_portaudio 1
|
%global with_portaudio 1
|
||||||
|
%global with_GeoIP 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Network traffic analyzer
|
Summary: Network traffic analyzer
|
||||||
Name: wireshark
|
Name: wireshark
|
||||||
Version: 1.6.7
|
Version: 1.6.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
|
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
|
||||||
@ -47,8 +49,10 @@ BuildRequires: gnutls-devel
|
|||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: xdg-utils
|
BuildRequires: xdg-utils
|
||||||
BuildRequires: flex, bison, python, python-devel
|
BuildRequires: flex, bison, python, python-devel
|
||||||
BuildRequires: GeoIP-devel
|
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
|
%if %{with_GeoIP}
|
||||||
|
BuildRequires: GeoIP-devel
|
||||||
|
%endif
|
||||||
%if %{with_adns}
|
%if %{with_adns}
|
||||||
BuildRequires: adns-devel
|
BuildRequires: adns-devel
|
||||||
%else
|
%else
|
||||||
@ -151,6 +155,11 @@ export LDFLAGS="$LDFLAGS -pie"
|
|||||||
--with-portaudio \
|
--with-portaudio \
|
||||||
%else
|
%else
|
||||||
--with-portaudio=no \
|
--with-portaudio=no \
|
||||||
|
%endif
|
||||||
|
%if %{with_GeoIP}
|
||||||
|
--with-geoip \
|
||||||
|
%else
|
||||||
|
--with-geoip=no \
|
||||||
%endif
|
%endif
|
||||||
--with-ssl \
|
--with-ssl \
|
||||||
--disable-warnings-as-errors \
|
--disable-warnings-as-errors \
|
||||||
@ -340,6 +349,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{_sbindir}/idl2wrs
|
%{_sbindir}/idl2wrs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 21 2012 Jan Safranek <jsafrane@redhat.com> - 1.6.7-2
|
||||||
|
- Removed dependency on GeoIP on RHEL.
|
||||||
|
|
||||||
* Tue Apr 10 2012 Jan Safranek <jsafrane@redhat.com> - 1.6.7-1
|
* Tue Apr 10 2012 Jan Safranek <jsafrane@redhat.com> - 1.6.7-1
|
||||||
- upgrade to 1.6.7
|
- upgrade to 1.6.7
|
||||||
- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.7.html
|
- see http://www.wireshark.org/docs/relnotes/wireshark-1.6.7.html
|
||||||
|
Loading…
Reference in New Issue
Block a user