spec: Drop gvnc-devel dep on rhel

It's not available in centos stream 9 repos.

Fixes virt-preview builds for centos stream 9 chroots

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2023-07-05 14:11:41 -04:00
parent fe9446c8aa
commit 9bdf4d356a
1 changed files with 4 additions and 1 deletions

View File

@ -119,6 +119,7 @@
%global have_libblkio 1
%endif
%global have_gvnc_devel %{defined fedora}
%global have_sdl_image %{defined fedora}
%global have_fdt 1
%global have_opengl 1
@ -509,8 +510,10 @@ BuildRequires: fuse3-devel
%if %{have_sdl_image}
BuildRequires: SDL2_image-devel
%endif
# gvnc used by vnc-display-test
%if %{have_gvnc_devel}
# Used by vnc-display-test
BuildRequires: pkgconfig(gvnc-1.0)
%endif
%if %{user_static}
BuildRequires: glibc-static glib2-static zlib-static