projects
/
pazpar2-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:
e568cf6
)
RPM: get version from IDMETA
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:20:00 +0000
(10:20 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:20:00 +0000
(10:20 +0100)
So we don't need to update the spec file for each release anymore.
pazpar2.spec
patch
|
blob
|
history
diff --git
a/pazpar2.spec
b/pazpar2.spec
index
e65dc44
..
2f015ab
100644
(file)
--- a/
pazpar2.spec
+++ b/
pazpar2.spec
@@
-1,6
+1,7
@@
+%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
Summary: Metasearcher
Name: pazpar2
-Version: 1.6.5
+Version: %{idmetaversion}
Release: 1indexdata
License: GPL
Group: Applications/Internet