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
138ad5fc6e
commit
cb7fe4a84f
@ -1,4 +1,4 @@
|
||||
%global built_tag v1.2.0
|
||||
%global built_tag_strip 1.2.0
|
||||
|
||||
Name: slirp4netns
|
||||
Version: 1.2.0
|
||||
@ -12,7 +12,7 @@ License: GPLv2
|
||||
%endif
|
||||
Summary: slirp for network namespaces
|
||||
URL: https://github.com/rootless-containers/%{name}
|
||||
Source0: %{url}/archive/%{built_tag}.tar.gz
|
||||
Source0: %{url}/archive/v%{built_tag_strip}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: go-md2man
|
||||
@ -47,7 +47,7 @@ building other packages which use import path with
|
||||
%{import_path} prefix.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit
|
||||
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
Loading…
Reference in New Issue
Block a user