diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/rpm/SPECS/wireshark.spec.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index 66af65489b..92d7d1105c 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -9,6 +9,7 @@ %bcond_with lua # Set these to 1 if you want to ensure your package includes support for them: +%global with_lz4_and_snappy 1 %global with_c_ares 1 %global with_portaudio 0 %global with_nghttp2 1 @@ -67,6 +68,20 @@ Requires: libpcap BuildRequires: zlib-devel Requires: zlib +%if %{with_lz4_and_snappy} +%if 0%{?suse_version} +BuildRequires: liblz4-devel +BuildRequires: snappy-devel +Requires: libsnappy1 +Requires: liblz4-1 +%else +BuildRequires: lz4-devel +BuildRequires: snappy-devel +Requires: snappy +Requires: lz4 +%endif +%endif + %if %{with_c_ares} %if 0%{?suse_version} # SuSE uses these package names (yes 2!): @@ -447,6 +462,9 @@ fi %endif %changelog +* Mon Oct 18 2016 Benoit Canet +- Add LZ4 and snappy compression support. + * Mon Aug 29 2016 Jeff Morriss - Add libnghttp2 (as an option, defaulting to required). |