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:
parent
e0f1c67970
commit
6b0f2ead7a
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue