]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Set correct TLS priority
authorJiri Denemark <jdenemar@redhat.com>
Thu, 27 Sep 2018 14:00:15 +0000 (16:00 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 27 Sep 2018 15:32:40 +0000 (17:32 +0200)
RHEL-7 is the only system where gnutls is too old to support @LIBVIRT
specifier.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
libvirt.spec.in

index b31947b0f4fc83d1d26db95c7d2897cd7a97feaa..dbfee0ba10f522bc7d279e898d2c6b822a36df5b 100644 (file)
     %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