diff --git a/whois.spec b/whois.spec index 03e1146..6565abd 100644 --- a/whois.spec +++ b/whois.spec @@ -5,15 +5,17 @@ # Add libidn support %{bcond_with whois_enables_idn} +%global forgeurl https://github.com/rfc1036/whois + Name: whois Version: 5.5.15 Release: 1%{?dist} Summary: Improved WHOIS client License: GPLv2+ URL: https://www.linux.it/~md/software/ -VCS: https://github.com/rfc1036/whois +VCS: git:%{forgeurl} # Source0: http://ftp.debian.org/debian/pool/main/w/%%{name}/%%{name}_%%{version}.tar.xz -Source0: %{VCS}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{forgeurl}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: coreutils BuildRequires: gcc BuildRequires: gettext