From: Jiri Denemark Date: Thu, 27 Sep 2018 14:00:15 +0000 (+0200) Subject: spec: Set correct TLS priority X-Git-Tag: v4.8.0-rc2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80047670304c747cde40aa2911ba4e21ef4e15d4;p=thirdparty%2Flibvirt.git 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 --- 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