aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/wireshark.spec.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index c79f837f95..87b1d50d99 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -18,6 +18,7 @@
%bcond_without bcg729
%bcond_with libxml2
%bcond_with nghttp2
+%bcond_with sdjournal
%bcond_with guides
@@ -109,6 +110,15 @@ BuildRequires: libnghttp2-devel
Requires: libnghttp2
%endif
+%if %{with sdjournal}
+BuildRequires: systemd-devel
+%if 0%{?suse_version}
+Requires: libsystemd0
+%else
+Requires: systemd-libs
+%endif
+%endif
+
# Uncomment these if you want to be sure you get them...
#BuildRequires: krb5-devel
#BuildRequires: libsmi-devel
@@ -270,6 +280,11 @@ cmake3 \
%else
-DENABLE_NGHTTP2=OFF \
%endif
+%if %{with sdjournal}
+ -DBUILD_sdjournal=ON \
+%else
+ -DBUILD_sdjournal=OFF \
+%endif
-DDISABLE_WERROR=ON \
%if %{with ninja}
-G Ninja \
@@ -439,6 +454,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/wireshark.pc
%changelog
+* Fri Sep 28 2018 Gerald Combs
+- Add sdjournal
+
* Thu Sep 27 2018 Jeff Morriss
- Have the qt package obsolute the old gnome and gtk packages. This allows
clean upgrades to the Qt version.