From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:20:00 +0000 (+0100) Subject: RPM: get version from IDMETA X-Git-Tag: v1.6.6~13^2~7^2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=221b381d5097d0999b5b91843d55de76d45693d0;p=pazpar2-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/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