RHEL-7 is the only system where gnutls is too old to support @LIBVIRT
specifier.
Signed-off-by: Jiri Denemark <jdenemar(a)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