From: Adam Dickmeiss Date: Mon, 14 Nov 2011 15:29:20 +0000 (+0100) Subject: RPM: get version from IDMETA X-Git-Tag: v4.2.21~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=17f0838c01af294a5b400a613c42c943083c8e4f;p=yaz-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/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