projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231758f
)
packaging:spec: Extract SHA1 of u-boot HEAD commit from %{vcs} variable
author
Lukasz Majewski
<l.majewski@samsung.com>
Mon, 17 Mar 2014 12:23:58 +0000
(13:23 +0100)
committer
Lukasz Majewski
<l.majewski@samsung.com>
Mon, 17 Mar 2014 12:23:58 +0000
(13:23 +0100)
The SHA1 of the git's HEAD commit is extracted from the %{vcs} spec file
variable.
Due to that it is now possible to set proper u-boot identification string:
U-Boot 2014.04-g05021226f-TIZEN.org (Mar 17 2014 - 12:17:19)
Change-Id: I5d211ff57f821dc880c0aeec543ea06f1cff00fd
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
packaging/u-boot.spec
patch
|
blob
|
history
diff --git
a/packaging/u-boot.spec
b/packaging/u-boot.spec
index
ea33d6e
..
7301544
100644
(file)
--- a/
packaging/u-boot.spec
+++ b/
packaging/u-boot.spec
@@
-59,7
+59,7
@@
make HOSTCC="gcc $RPM_OPT_FLAGS" env
%endif
# Build u-boot
-make
+make
EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot#\(.\{9\}\).*/-g\1-TIZEN.org/'`
%install
rm -rf %{buildroot}