RPM: get version from IDMETA
[yazpp-moved-to-github.git] / yazpp.spec
index 0f9e025..bbf4714 100644 (file)
@@ -1,6 +1,7 @@
+%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
 Summary: YAZ++ package (main)
 Name: yazpp
-Version: 1.2.7
+Version: %{idmetaversion}
 Release: 1indexdata
 License: BSD
 Group: Applications/Internet