RPM: get version from IDMETA
[metaproxy-moved-to-github.git] / metaproxy.spec
index 36424f0..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.14
+Version: %{idmetaversion}
 Release: 1indexdata
 License: GPL
 Group: Applications/Internet