[gtk-vnc] rpm: cull conditionals related to RHEL-7



commit 441ac5e1a23389595e78b5d3bcd380592a4ee7bc
Author: Daniel P. Berrangé <dan berrange com>
Date:   Wed Mar 31 15:36:27 2021 +0100

    rpm: cull conditionals related to RHEL-7
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 gtk-vnc.spec.in | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 3bafa6e..e1f0766 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -1,13 +1,9 @@
 # -*- rpm-spec -*-
 
-# This spec file assumes you are building for Fedora 26 or newer,
-# or for RHEL 7 or newer. It may need some tweaks for other distros.
+# This spec file assumes you are building for Fedora 32 or newer,
+# or for RHEL 8 or newer. It may need some tweaks for other distros.
 
-%if 0%{?fedora} || 0%{?rhel} >= 8
-    %global tls_priority "@LIBVIRT,SYSTEM"
-%else
-    %global tls_priority "NORMAL"
-%endif
+%global tls_priority "@LIBVIRT,SYSTEM"
 
 Summary: A GTK widget for VNC clients
 Name: gtk-vnc
@@ -17,15 +13,7 @@ License: LGPLv2+
 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz
 URL: https://wiki.gnome.org/Projects/gtk-vnc
 Requires: gvnc = %{version}-%{release}
-%if 0%{?fedora}
-BuildRequires: python3
-%else
-%if 0%{?rhel} > 7
 BuildRequires: python3-devel
-%else
-BuildRequires: python
-%endif
-%endif
 BuildRequires: gnutls-devel libgcrypt-devel cyrus-sasl-devel zlib-devel
 BuildRequires: gobject-introspection-devel
 BuildRequires: gtk3-devel


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