Use version macros in the source URLs.

One fewer place to update whenever a new release is out.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
This commit is contained in:
Filipe Brandenburger 2019-09-11 12:19:39 -07:00
parent 8ef0b12494
commit f82432f5b8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Release: 6%{dist}
# numactl binaries are GPLv2 only
License: GPLv2
URL: https://github.com/numactl/numactl
Source0: https://github.com/numactl/numactl/releases/download/v2.0.12/numactl-2.0.12.tar.gz
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: libtool automake autoconf