From 17f0838c01af294a5b400a613c42c943083c8e4f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 14 Nov 2011 16:29:20 +0100 Subject: [PATCH] RPM: get version from IDMETA So we don't need to update the spec file for each release anymore. --- yaz.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaz.spec b/yaz.spec index 2a05519..1c4498d 100644 --- a/yaz.spec +++ b/yaz.spec @@ -3,9 +3,10 @@ # # spec file for YAZ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Name: yaz Summary: Z39.50 Programs -Version: 4.2.20 +Version: %{idmetaversion} Release: 1indexdata # determine system -- 1.7.10.4