summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-12-20 13:22:15 +0100
committerJeff Morriss <jeff.morriss.ws@gmail.com>2016-12-21 21:48:56 +0000
commit41951f98fb01726575c559d5d015b24879cbfb7d (patch)
treec280ea85590b86f945518e87ffc2ef6ccff77078 /packaging
parentd70d32edb9f3425cb3e93dd6ff4b3d676b1b8858 (diff)
downloadwireshark-41951f98fb01726575c559d5d015b24879cbfb7d.tar.gz
[rpm-build] Add an option to exclude extcap.
Change-Id: Ibe16ad31986818fcd6e1bfbcfdd38ecc7663dd39 Reviewed-on: https://code.wireshark.org/review/19360 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/SPECS/wireshark.spec.in9
1 files changed, 9 insertions, 0 deletions
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).