From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:57:19 +0000 (+0100) Subject: RPM: get version from IDMETA X-Git-Tag: v1.3.16~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=11f839cda40c4c3689a98c6531e9d21253e05456;p=metaproxy-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/metaproxy.spec b/metaproxy.spec index caa1047..97db960 100644 --- a/metaproxy.spec +++ b/metaproxy.spec @@ -1,6 +1,7 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Summary: Z39.50/SRU router Name: metaproxy -Version: 1.3.15 +Version: %{idmetaversion} Release: 1indexdata License: GPL Group: Applications/Internet