mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
spec: Use correct versions of libgfapi in RHEL builds
RHEL still uses the 3.4.0 package of libgfapi and the package is built only for x86_64.
This commit is contained in:
parent
eed46d4cfe
commit
72f7658ba2
@ -98,7 +98,7 @@
|
|||||||
%else
|
%else
|
||||||
%define with_storage_sheepdog 0
|
%define with_storage_sheepdog 0
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} >= 19
|
%if 0%{?fedora} >= 19 || 0%{?rhel >= 6}
|
||||||
%define with_storage_gluster 0%{!?_without_storage_gluster:%{server_drivers}}
|
%define with_storage_gluster 0%{!?_without_storage_gluster:%{server_drivers}}
|
||||||
%else
|
%else
|
||||||
%define with_storage_gluster 0
|
%define with_storage_gluster 0
|
||||||
@ -153,6 +153,13 @@
|
|||||||
%define with_numactl 0
|
%define with_numactl 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# libgfapi is built only on x86_64 on rhel
|
||||||
|
%ifnarch x86_64
|
||||||
|
%if 0%{?rhel >= 6}
|
||||||
|
%define with_storage_gluster 0
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
|
# RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
|
||||||
# VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
|
# VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
|
||||||
# or HyperV.
|
# or HyperV.
|
||||||
@ -571,8 +578,13 @@ BuildRequires: ceph-devel
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %{with_storage_gluster}
|
%if %{with_storage_gluster}
|
||||||
|
%if 0%{?rhel} >= 6
|
||||||
|
BuildRequires: glusterfs-api-devel >= 3.4.0
|
||||||
|
BuildRequires: glusterfs-devel >= 3.4.0
|
||||||
|
%else
|
||||||
BuildRequires: glusterfs-api-devel >= 3.4.1
|
BuildRequires: glusterfs-api-devel >= 3.4.1
|
||||||
BuildRequires: glusterfs-devel >= 3.4.1
|
BuildRequires: glusterfs-devel >= 3.4.1
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %{with_numactl}
|
%if %{with_numactl}
|
||||||
# For QEMU/LXC numa info
|
# For QEMU/LXC numa info
|
||||||
|
Loading…
Reference in New Issue
Block a user