diff --git a/netavark.spec b/netavark.spec index f9f207c..a659470 100644 --- a/netavark.spec +++ b/netavark.spec @@ -4,7 +4,7 @@ %global debug_package %{nil} -%global built_tag v1.1.0 +%global built_tag_strip 1.1.0 Name: netavark Version: 1.1.0 @@ -19,8 +19,8 @@ ExclusiveArch: %{rust_arches} %endif Summary: OCI network stack URL: https://github.com/containers/%{name} -Source0: %{url}/archive/%{built_tag}/%{version}.tar.gz -Source1: %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.gz +Source0: %{url}/archive/v%{built_tag_strip}.tar.gz +Source1: %{url}/releases/download/v%{built_tag_strip}/%{name}-v%{built_tag_strip}-vendor.tar.gz BuildRequires: cargo BuildRequires: go-md2man Recommends: aardvark-dns >= 1.0.3 @@ -197,7 +197,7 @@ Its features include: * Support for container DNS resolution via aardvark-dns. %prep -%autosetup -Sgit +%autosetup -Sgit %{name}-%{built_tag_strip} tar fx %{SOURCE1} mkdir -p .cargo