From 34390822d59df379511110e7f678991a47f92e0b Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Tue, 21 Feb 2012 14:55:02 +0100 Subject: [PATCH] Add git commit step in rpm build --- linphone.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone.spec.in b/linphone.spec.in index 171cb5e3..ff79974e 100644 --- a/linphone.spec.in +++ b/linphone.spec.in @@ -11,7 +11,7 @@ Name: linphone Version: @VERSION@ -Release: 1%{?dist} +Release: %(git describe --tags | sed 's/.*-\([0-9]*\)-g.*/\1/' || echo '1')%{?dist} Summary: Phone anywhere in the whole world by using the Internet Group: Applications/Communications -- 2.39.2