Fix source URL for unstable releases

The major version in download URLs is based on the tarball version,
not the package version that replaces the first dot with a tilde.
This commit is contained in:
Florian Müllner 2022-10-28 23:39:28 +02:00
parent 8359d8c658
commit 8e42b5e78e

View File

@ -1,9 +1,9 @@
%global major_version %%(cut -d "." -f 1 <<<%{version})
# Minimum GNOME Shell version supported # Minimum GNOME Shell version supported
%global min_gs_version %%(cut -d "." -f 1 <<<%{version}) %global min_gs_version %%(cut -d "." -f 1 <<<%{version})
%global pkg_prefix gnome-shell-extension %global pkg_prefix gnome-shell-extension
%global tarball_version %%(echo %{version} | tr '~' '.') %global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version %%(cut -d "." -f 1 <<<%{tarball_version})
Name: gnome-shell-extensions Name: gnome-shell-extensions
Version: 43.1 Version: 43.1