From 80047670304c747cde40aa2911ba4e21ef4e15d4 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Thu, 27 Sep 2018 16:00:15 +0200 Subject: [PATCH] spec: Set correct TLS priority RHEL-7 is the only system where gnutls is too old to support @LIBVIRT specifier. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- 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.47.2