]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: enable wireshark build for RHEL-8 and later
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 13 Nov 2020 11:14:29 +0000 (11:14 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Nov 2020 10:19:05 +0000 (10:19 +0000)
wireshark plugin was disabled in RHEL because RHEL-7 was too old, but we
forgot to enable it in RHEL-8 where it builds fine.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index 43955b0e0987ba8e6c20bda770a998a0ad6d7695..de76878bc6f352c84e0c6345c4ae15022b0920ea 100644 (file)
     %define with_libssh2 0%{!?_without_libssh2:1}
 %endif
 
-# Enable wireshark plugins for all distros shipping libvirt 1.2.2 or newer
-%if 0%{?fedora}
+# Enable wireshark plugins for all distros except RHEL-7
+%if 0%{?fedora} || 0%{?rhel} > 7
     %define with_wireshark 0%{!?_without_wireshark:1}
     %define wireshark_plugindir %(pkg-config --variable plugindir wireshark)/epan
 %endif