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