minor change: remove unnecessary git0 macro

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-03-31 13:28:16 -04:00
parent 2a5599c386
commit 7ad0ace344

View File

@ -1,5 +1,3 @@
%global git0 https://github.com/containers/crun
%global built_tag 1.4.4 %global built_tag 1.4.4
%global gen_version %(b=%{built_tag}; echo ${b/-/"~"}) %global gen_version %(b=%{built_tag}; echo ${b/-/"~"})
@ -7,8 +5,7 @@ Summary: OCI runtime written in C
Name: crun Name: crun
Version: %{gen_version} Version: %{gen_version}
Release: %autorelease Release: %autorelease
URL: %{git0} URL: https://github.com/containers/%{name}
# Source0 generated using `make dist` in upstream repo
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
License: GPLv2+ License: GPLv2+
@ -34,7 +31,7 @@ BuildRequires: criu-devel >= 3.15
Provides: oci-runtime Provides: oci-runtime
%description %description
crun is a runtime for running OCI containers %{name} is a runtime for running OCI containers
%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -p1 -n %{name}-%{version}