Relax GTK-VNC version again

A previous commit needlessly increased the min required GTK-VNC
This commit is contained in:
Daniel P. Berrange 2012-02-16 14:44:19 +00:00
parent e1064a5355
commit c3baafc898
2 changed files with 6 additions and 3 deletions

View File

@ -15,7 +15,8 @@ LIBXML2_REQUIRED="2.6.0"
LIBVIRT_REQUIRED="0.6.0"
GTK2_REQUIRED="2.12.0"
GTK3_REQUIRED="3.0"
GTK_VNC_REQUIRED="0.4.3"
GTK_VNC1_REQUIRED="0.3.8"
GTK_VNC2_REQUIRED="0.4.0"
SPICE_GTK_REQUIRED="0.9"
AC_PROG_CC
@ -80,11 +81,13 @@ AC_MSG_RESULT([$with_gtk])
case "$with_gtk" in
2.0) GTK_API_VERSION=2.0
GTK_REQUIRED=$GTK2_REQUIRED
GTK_VNC_REQUIRED=$GTK_VNC1_REQUIRED
GTK_VNC_API_VERSION=1.0
SPICE_GTK_API_VERSION=2.0
;;
3.0) GTK_API_VERSION=3.0
GTK_REQUIRED=$GTK3_REQUIRED
GTK_VNC_REQUIRED=$GTK_VNC2_REQUIRED
GTK_VNC_API_VERSION=2.0
SPICE_GTK_API_VERSION=3.0
;;

View File

@ -40,9 +40,9 @@ BuildRequires: gtk2-devel >= 2.12.0
BuildRequires: libvirt-devel >= 0.6.0
BuildRequires: libxml2-devel
%if %{with_gtk3}
BuildRequires: gtk-vnc2-devel >= 0.4.3
BuildRequires: gtk-vnc2-devel >= 0.4.0
%else
BuildRequires: gtk-vnc-devel >= 0.4.3
BuildRequires: gtk-vnc-devel >= 0.3.8
%endif
%if %{with_spice}
%if %{with_gtk3}