Debian moved to a recent version of which and dropped
the source tarball from their server.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
name = whois
version = 5.5.15
-release = 1.1
+release = 2
groups = Applications/Internet
url = https://github.com/rfc1036/whois
whois.networksolutions.com
end
-source_dl = http://ftp.debian.org/debian/pool/main/w/whois/
-sources = %{name}_%{version}.tar.xz
+source_dl = https://github.com/rfc1036/whois/archive/refs/tags/v%{version}.tar.gz#/
+sources = %{thisapp}.tar.gz
build
- DIR_APP = %{DIR_SRC}/%{name}
-
requires
libidn2-devel
libxcrypt-devel