From 6c5467571389a21c91196ce1608945633c1cf92a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 15 Nov 2011 11:01:07 +0100 Subject: [PATCH] RPM: get version from IDMETA So we don't need to update the spec file for each release anymore. --- idzebra.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/idzebra.spec b/idzebra.spec index 5185134..1bb1ecb 100644 --- a/idzebra.spec +++ b/idzebra.spec @@ -1,5 +1,6 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Name: idzebra-2.0 -Version: 2.0.50 +Version: %{idmetaversion} Release: 1indexdata Requires: lib%{name}-modules = %{version} License: GPL -- 1.7.10.4