OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e66fb75
)
rectool: improve rpm's spec file to include version string (git rev) in generated...
author
Long.inus
<long.inus@hotmail.co.jp>
Sun, 21 Jul 2013 19:32:17 +0000
(
04:32
+0900)
committer
Long.inus
<long.inus@hotmail.co.jp>
Sun, 21 Jul 2013 19:32:17 +0000
(
04:32
+0900)
rectool/rectool.spec
patch
|
blob
|
history
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