git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30edbb8
)
packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
author
Michael Adam
<obnox@samba.org>
Wed, 21 Jan 2009 10:03:34 +0000
(11:03 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 13 Nov 2009 15:19:32 +0000
(16:19 +0100)
Michael
(cherry picked from commit
fc122aa276bce379b492e5bdf52ab3e03bc3737f
)
packaging/RHEL-CTDB/makespec.sh
patch
|
blob
|
history
diff --git
a/packaging/RHEL-CTDB/makespec.sh
b/packaging/RHEL-CTDB/makespec.sh
index ae58db0d8526a4504ac831446e7357d8fbc88752..62f0969868c68092690b40cfae925b02391e5354 100755
(executable)
--- a/
packaging/RHEL-CTDB/makespec.sh
+++ b/
packaging/RHEL-CTDB/makespec.sh
@@
-26,6
+26,10
@@
vendor_version=`grep SAMBA_VERSION_VENDOR_SUFFIX ${VERSION_H} | awk '{print $3}'
if test "x${vendor_version}" != "x" ; then
VERSION="${VERSION}-${vendor_version}"
fi
+vendor_patch=`grep SAMBA_VERSION_VENDOR_PATCH ${VERSION_H} | awk '{print $3}'`
+if test "x${vendor_patch}" != "x" ; then
+ VERSION="${VERSION}-${vendor_patch}"
+fi
VERSION=`echo ${VERSION} | sed 's/-/_/g'`
VERSION=`echo ${VERSION} | sed 's/\"//g'`
echo "VERSION: ${VERSION}"