diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2017-04-04 23:23:59 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-04-19 10:41:55 +0000 |
commit | cfab5ef035db7be8502623af203ab3494a9200e3 (patch) | |
tree | 2d848bbd7bd38baa818a817b9cda5b4b107f30a6 /packaging/rpm | |
parent | d13c6d9628e3964697559e3509d9c1f8ec30ed9e (diff) |
Add libxml2 as optional dependency
This can be used by dissectors that need to parse out-of-band
configuration.
Change-Id: I13c0a2f408fb5c21bad7ab3d7971e0fa8ed7d783
Reviewed-on: https://code.wireshark.org/review/20912
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'packaging/rpm')
-rw-r--r-- | packaging/rpm/SPECS/wireshark.spec.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index 0e86bad483..48a295d9c7 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -13,6 +13,7 @@ %global with_c_ares 1 %global with_portaudio 0 %global with_spandsp 0 +%global with_libxml2 1 %global with_nghttp2 1 %global with_extcap 1 @@ -240,6 +241,10 @@ Requires: portaudio BuildRequires: spandsp-devel Requires: spandsp %endif +%if %{with_libxml2} +BuildRequires: libxml2-devel +Requires: libxml2 +%endif # Uncomment these if you want to be sure you get them... #BuildRequires: GeoIP-devel @@ -277,6 +282,11 @@ This package contains the GTK+ Wireshark GUI and desktop integration files. %if %{with_spandsp} --with-spandsp \ %endif +%if %{with_libxml2} + --with-libxml2 \ +%else + --without-libxml2 \ +%endif %if %{with_extcap} --with-extcap \ %else @@ -476,6 +486,9 @@ fi %endif %changelog +* Tue Apr 4 2017 Ahmad Fatoum +- Added libxml2 (as an option, defaulting to required). + * Tue Dec 20 2016 Anders Broman - Add with extcap (as an option, defaulting to yes). |