projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8dc8f38
)
RPM: get version from IDMETA
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 10:01:07 +0000
(11:01 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 10:01:07 +0000
(11:01 +0100)
So we don't need to update the spec file for each release anymore.
idzebra.spec
patch
|
blob
|
history
diff --git
a/idzebra.spec
b/idzebra.spec
index
5185134
..
1bb1ecb
100644
(file)
--- a/
idzebra.spec
+++ b/
idzebra.spec
@@
-1,5
+1,6
@@
+%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
Name: idzebra-2.0
-Version: 2.0.50
+Version: %{idmetaversion}
Release: 1indexdata
Requires: lib%{name}-modules = %{version}
License: GPL