use easier tag macros to make both fedora and debbuild happy
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
cc1b7fa183
commit
ba15707f75
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user