add additional macros for autobuilding non-rawhide

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-03-08 15:23:52 -05:00
parent 085edec831
commit 5f9f84fa8d

View File

@ -3,8 +3,10 @@
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# Used for comparing with latest upstream tag # 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 v1.1.9 %define built_tag v1.1.9
%define built_tag_strip %(b=%{built_tag}; echo ${b:1})
%define download_url %{git0}/archive/%{built_tag}.tar.gz
Name: slirp4netns Name: slirp4netns
Version: 1.1.9 Version: 1.1.9