projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad45084
)
RPM: get version from IDMETA
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:57:19 +0000
(10:57 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:57:19 +0000
(10:57 +0100)
So we don't need to update the spec file for each release anymore.
metaproxy.spec
patch
|
blob
|
history
diff --git
a/metaproxy.spec
b/metaproxy.spec
index
caa1047
..
97db960
100644
(file)
--- a/
metaproxy.spec
+++ b/
metaproxy.spec
@@
-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