提交 f5786a5f 编写于 作者: A Amador Pahim

spec: fix shortcommit

shortcommit is supposed to contain the 8 first characters instead of 7.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 c6d6023e
......@@ -15,7 +15,7 @@
%if ! 0%{?commit_date:1}
%global commit_date 20170518
%endif
%global shortcommit %(c=%{commit};echo ${c:0:7})
%global shortcommit %(c=%{commit};echo ${c:0:8})
%global gitrel .%{commit_date}git%{shortcommit}
%global gittar %{srcname}-%{shortcommit}.tar.gz
%endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册