From fc771cee3f81e165d323053ff95d4f776d26986a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 15 Nov 2011 10:23:43 +0100 Subject: [PATCH] RPM: get version from IDMETA So we don't need to update the spec file for each release anymore. --- yazpp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4