[libvirt] [PATCH 1/2] spec: Set correct TLS priority

Jiri Denemark jdenemar at redhat.com
Thu Sep 27 14:14:47 UTC 2018


RHEL-7 is the only system where gnutls is too old to support @LIBVIRT
specifier.

Signed-off-by: Jiri Denemark <jdenemar at 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




More information about the libvir-list mailing list