From f5786a5f17a5f0fadcff5df72ec702ce357d3458 Mon Sep 17 00:00:00 2001 From: Amador Pahim Date: Mon, 14 Aug 2017 13:31:51 +0200 Subject: [PATCH] spec: fix shortcommit shortcommit is supposed to contain the 8 first characters instead of 7. Signed-off-by: Amador Pahim --- python-avocado.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-avocado.spec b/python-avocado.spec index 0cf16482..1bdba1c8 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -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 -- GitLab