[gtk-vnc] rpm: update URLs for home page and download



commit 8a3666fe2d30388a491d5826626ad9d2fbbf9156
Author: Daniel P. Berrangé <dan berrange com>
Date:   Wed Mar 31 15:51:53 2021 +0100

    rpm: update URLs for home page and download
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 gtk-vnc.spec.in       | 5 +++--
 mingw-gtk-vnc.spec.in | 6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 2b22d15..61ff948 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -4,14 +4,15 @@
 # or for RHEL 8 or newer. It may need some tweaks for other distros.
 
 %global tls_priority "@LIBVIRT,SYSTEM"
+%global verdir %(echo ${version} | cut -d. -f1,2)
 
 Summary: A GTK widget for VNC clients
 Name: gtk-vnc
 Version: @VERSION@
 Release: 1%{?dist}
 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
+Source: https://download.gnome.org/sources/%{name}/%{verdir}/%{name}-%{version}.tar.xz
+URL: https://gitlab.gnome.org/GNOME/gtk-vnc
 Requires: gvnc = %{version}-%{release}
 BuildRequires: python3-devel
 BuildRequires: gnutls-devel libgcrypt-devel cyrus-sasl-devel zlib-devel
diff --git a/mingw-gtk-vnc.spec.in b/mingw-gtk-vnc.spec.in
index 717a352..2c48837 100644
--- a/mingw-gtk-vnc.spec.in
+++ b/mingw-gtk-vnc.spec.in
@@ -1,13 +1,15 @@
 %{?mingw_package_header}
 
+%global verdir %(echo ${version} | cut -d. -f1,2)
+
 Name: mingw-gtk-vnc
 Version: @VERSION@
 Release: 1%{?dist}
 Summary: MinGW Windows port of VNC client GTK widget
 
 License: LGPLv2+
-Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.5/gtk-vnc-%{version}.tar.xz
-URL: https://wiki.gnome.org/Projects/gtk-vnc
+Source: https://download.gnome.org/sources/gtk-vnc/%{verdir}/gtk-vnc-%{version}.tar.xz
+URL: https://gitlab.gnome.org/GNOME/gtk-vnc
 
 BuildArch: noarch
 


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