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
39b6375741
commit
cdb15076aa
@ -1,6 +1,4 @@
|
||||
%global built_tag v0.1.7
|
||||
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
||||
%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
|
||||
%global built_tag_strip 0.1.7
|
||||
|
||||
Name: catatonit
|
||||
Version: 0.1.7
|
||||
@ -14,7 +12,7 @@ License: GPLv3+
|
||||
Release: %autorelease
|
||||
%endif
|
||||
URL: https://github.com/openSUSE/catatonit
|
||||
Source0: %{url}/archive/%{built_tag}.tar.gz
|
||||
Source0: %{url}/archive/v%{built_tag_strip}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: file
|
||||
@ -40,7 +38,7 @@ This is a reimplementation of other container init programs (such as
|
||||
signalfd(2)) and has no additional features.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit
|
||||
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||
sed -i '$d' configure.ac
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user