[libvirt] [PATCH 0/2] A few spec file fixes

Jiri Denemark (2): spec: Set correct TLS priority spec: Build ceph and gluster support everywhere libvirt.spec.in | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) -- 2.19.0

RHEL-7 is the only system where gnutls is too old to support @LIBVIRT specifier. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- libvirt.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b31947b0f4..dbfee0ba10 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -214,10 +214,10 @@ %define enable_werror --disable-werror %endif -%if 0%{?fedora} - %define tls_priority "@LIBVIRT,SYSTEM" -%else +%if 0%{?rhel} == 7 %define tls_priority "NORMAL" +%else + %define tls_priority "@LIBVIRT,SYSTEM" %endif -- 2.19.0

Both ceph and gluster have been built on RHEL on all architectures for some time, there's no need to limit them to x86_64. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- libvirt.spec.in | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index dbfee0ba10..667f89c0b9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -105,20 +105,6 @@ %define with_numactl 0 %endif -# libgfapi is built only on x86_64 on rhel -%ifnarch x86_64 - %if 0%{?rhel} - %define with_storage_gluster 0 - %endif -%endif - -# librados and librbd are built only on x86_64 on rhel -%ifnarch x86_64 - %if 0%{?rhel} - %define with_storage_rbd 0 - %endif -%endif - # zfs-fuse is not available on some architectures %ifarch s390 s390x aarch64 %define with_storage_zfs 0 -- 2.19.0
participants (2)
-
Jiri Denemark
-
Pavel Hrdina