[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>
This commit is contained in:
parent
d70d32edb9
commit
41951f98fb
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue