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