rpm: disable double dash check on fedora.

Standard naming convention in Wireshark generates a version that
make the rpm build fail on Fedora. Since we've not evidence that
this happens on other platforms, just disable on that one.
This commit is contained in:
Dario Lombardo 2020-12-24 14:05:48 +01:00 committed by Wireshark GitLab Utility
parent e0f1c67970
commit 6b0f2ead7a
1 changed files with 6 additions and 0 deletions

View File

@ -125,6 +125,12 @@ Requires: lua < 5.3
%endif
%endif
# Fedora complains about double dash in version.
# Shut it up just for it.
%if 0%{?fedora}
%define _wrong_version_format_terminate_build 0
%endif
%if %{with nghttp2}
BuildRequires: libnghttp2-devel
%if 0%{?suse_version}