mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-04 05:17:44 +03:00
rpm: disable govirt for RHEL-9
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6db5b71419
commit
2b9c9c51f8
@ -1,5 +1,11 @@
|
||||
# -*- rpm-spec -*-
|
||||
|
||||
%if 0%{?rhel} >= 9
|
||||
%global with_govirt 0
|
||||
%else
|
||||
%global with_govirt 1
|
||||
%endif
|
||||
|
||||
Name: virt-viewer
|
||||
Version: @VERSION@
|
||||
Release: 1%{?dist}
|
||||
@ -24,8 +30,10 @@ BuildRequires: pkgconfig(spice-client-gtk-3.0)
|
||||
BuildRequires: pkgconfig(spice-protocol)
|
||||
BuildRequires: /usr/bin/pod2man
|
||||
BuildRequires: gettext
|
||||
%if %{with_govirt}
|
||||
BuildRequires: pkgconfig(govirt-1.0)
|
||||
BuildRequires: pkgconfig(rest-0.7)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user