From 221b381d5097d0999b5b91843d55de76d45693d0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 15 Nov 2011 10:20:00 +0100 Subject: [PATCH] RPM: get version from IDMETA So we don't need to update the spec file for each release anymore. --- pazpar2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pazpar2.spec b/pazpar2.spec index e65dc44..2f015ab 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -1,6 +1,7 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Summary: Metasearcher Name: pazpar2 -Version: 1.6.5 +Version: %{idmetaversion} Release: 1indexdata License: GPL Group: Applications/Internet -- 1.7.10.4