From f82432f5b8c4296bc2e27fb859e09357486ba8c1 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Sep 18 2020 01:05:31 +0000 Subject: Use version macros in the source URLs. One fewer place to update whenever a new release is out. Signed-off-by: Filipe Brandenburger --- diff --git a/numactl.spec b/numactl.spec index 09ea8cc..1bb91a0 100644 --- a/numactl.spec +++ b/numactl.spec @@ -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