From 958e085b0d0a4202f0c656df630663d01c55ce4e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Feb 2021 12:23:18 -0500 Subject: [PATCH] Construct URL using version --- libIDL.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libIDL.spec b/libIDL.spec index b8b9f7f..1ce5601 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -4,7 +4,8 @@ Version: 0.8.14 %global so_version 0 Release: 24%{?dist} -URL: https://download.gnome.org/sources/%{name}/0.8/ +%global minorversion %(echo '%{version}' | cut -d . -f 1-2) +URL: https://download.gnome.org/sources/%{name}/%{minorversion}/ Source: %{url}/%{name}-%{version}.tar.bz2 License: LGPLv2+