RPM: fix build since GLIB2_MIN_VERSION was removed

Instead of reintroducing the variable, inline the version. This matches
with other version checks in the same file and debian/control.

Change-Id: I4dc178575b8f24e7f8e07e8d761e245f14c65ffa
Fixes: v3.1.0rc0-566-g8c26217548 ("CMake: bail out if minimum GLib version is not satisfied")
Reviewed-on: https://code.wireshark.org/review/32917
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Peter Wu 2019-04-20 21:30:35 +01:00
parent f6d7a9546f
commit 3af6db7dde
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ BuildRequires: bison
BuildRequires: asciidoctor
%endif
BuildRequires: glib2-devel >= @GLIB2_MIN_VERSION@
Requires: glib2 >= @GLIB2_MIN_VERSION@
BuildRequires: glib2-devel >= 2.32.0
Requires: glib2
BuildRequires: libpcap-devel
Requires: libpcap
BuildRequires: zlib-devel