rpm: remove version checks for wireshark

We only turn on with_wireshark if we already know the distro is
guaranteed to have new enough packages. The versioned dep is thus not
required.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-11-13 11:13:21 +00:00
parent 45d714ce2e
commit 8d3c427dea

View File

@ -386,7 +386,7 @@ BuildRequires: numad
%endif
%if %{with_wireshark}
BuildRequires: wireshark-devel >= 2.4.0
BuildRequires: wireshark-devel
%endif
%if %{with_libssh}
@ -928,7 +928,7 @@ Bash completion script stub.
%if %{with_wireshark}
%package wireshark
Summary: Wireshark dissector plugin for libvirt RPC transactions
Requires: wireshark >= 2.4.0
Requires: wireshark
Requires: %{name}-libs = %{version}-%{release}
%description wireshark