From 41951f98fb01726575c559d5d015b24879cbfb7d Mon Sep 17 00:00:00 2001 From: AndersBroman Date: Tue, 20 Dec 2016 13:22:15 +0100 Subject: [rpm-build] Add an option to exclude extcap. Change-Id: Ibe16ad31986818fcd6e1bfbcfdd38ecc7663dd39 Reviewed-on: https://code.wireshark.org/review/19360 Reviewed-by: Anders Broman Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Jeff Morriss --- packaging/rpm/SPECS/wireshark.spec.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packaging') diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index c2ffb1f581..0e86bad483 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -14,6 +14,7 @@ %global with_portaudio 0 %global with_spandsp 0 %global with_nghttp2 1 +%global with_extcap 1 # Set at most one of these two: # Note that setcap requires rpmbuild 4.7.0 or later. @@ -276,6 +277,11 @@ This package contains the GTK+ Wireshark GUI and desktop integration files. %if %{with_spandsp} --with-spandsp \ %endif +%if %{with_extcap} + --with-extcap \ + %else + --with-extcap=no \ +%endif %if %{with qt} --with-qt=4 \ %else @@ -470,6 +476,9 @@ fi %endif %changelog +* Tue Dec 20 2016 Anders Broman +- Add with extcap (as an option, defaulting to yes). + * Mon Dec 5 2016 Jeff Morriss - Add spandsp (as an option, defaulting to not required). -- cgit v1.2.1