[gtk-vnc] rpm: Cleanup TLS priority setting for newer distros



commit 41a6c28df4b7ff968e024ed215abf4a4287b1d9e
Author: Daniel P. Berrangé <berrange redhat com>
Date:   Fri Mar 23 11:52:39 2018 +0000

    rpm: Cleanup TLS priority setting for newer distros
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 gtk-vnc.spec.in |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 7406413..92fef5d 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -1,6 +1,6 @@
 # -*- rpm-spec -*-
 
-# This spec file assumes you are building for Fedora 20 or newer,
+# This spec file assumes you are building for Fedora 26 or newer,
 # or for RHEL 6 or newer. It may need some tweaks for other distros.
 
 %global with_gir 0
@@ -18,14 +18,10 @@
 %global with_vala 1
 %endif
 
-%if 0%{?fedora} >= 25
+%if 0%{?fedora} || 0%{?rhel} >= 8
     %global tls_priority "@LIBVIRT,SYSTEM"
 %else
-    %if 0%{?fedora} >= 21
-        %global tls_priority "@SYSTEM"
-    %else
-        %global tls_priority "NORMAL"
-    %endif
+    %global tls_priority "NORMAL"
 %endif
 
 Summary: A GTK2 widget for VNC clients


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]