From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:23:43 +0000 (+0100) Subject: RPM: get version from IDMETA X-Git-Tag: v1.2.8~7 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=fc771cee3f81e165d323053ff95d4f776d26986a;p=yazpp-moved-to-github.git RPM: get version from IDMETA So we don't need to update the spec file for each release anymore. --- diff --git a/yazpp.spec b/yazpp.spec index 0f9e025..bbf4714 100644 --- a/yazpp.spec +++ b/yazpp.spec @@ -1,6 +1,7 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Summary: YAZ++ package (main) Name: yazpp -Version: 1.2.7 +Version: %{idmetaversion} Release: 1indexdata License: BSD Group: Applications/Internet