RPM: get version from IDMETA
[metaproxy-moved-to-github.git] / metaproxy.spec
index caa1047..97db960 100644 (file)
@@ -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