OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rectool: improve rpm's spec file to include version string (git rev) in generated...
[rec10/rec10-git.git]
/
rectool
/
rectool.spec
diff --git
a/rectool/rectool.spec
b/rectool/rectool.spec
index
1d6c95f
..
ce3bdb4
100644
(file)
--- a/
rectool/rectool.spec
+++ b/
rectool/rectool.spec
@@
-1,6
+1,8
@@
+%define gitrev %(git rev-list HEAD | wc | awk '{print $1}')
+
Name: rec10-rectool
Version: 0.0.1
-Release:
1
%{?dist}
+Release:
git%{gitrev}
%{?dist}
Summary: rec10 web interface
Group: Utilities