From 61863a2b15124e6950c4fdcc2a13fc37171ebb4f Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 4 Mar 2021 15:35:00 -0500 Subject: [PATCH] add macros for autobuilding on non-rawhide Signed-off-by: Lokesh Mandvekar --- podman.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/podman.spec b/podman.spec index c60d4d0..fad82c2 100644 --- a/podman.spec +++ b/podman.spec @@ -42,8 +42,10 @@ %global shortcommit_plugins %(c=%{commit_plugins}; echo ${c:0:7}) # Used for comparing with latest upstream tag -# to decide whether to autobuild (non-rawhide only) +# to decide whether to autobuild and set download url (non-rawhide only) %define built_tag v3.0.1 +%define built_tag_strip %(b=%{built_tag}; echo ${b:1}) +%define download_url %{git0}/archive/%{built_tag}.tar.gz Name: podman %if 0%{?fedora}