path: root/
diff options
authorBala.FA <>2014-02-27 12:39:43 +0530
committerVijay Bellur <>2014-04-10 04:52:28 -0700
commit4bacb40fc898ee9519cfe4e9ee50401ec466168c (patch)
treee29a334d809266428560f07c8a2b222f60085d94 /
parent8d7dde6b322483389c25cc0f056c8b27c79c160e (diff)
build: set version based on git tag or specific
This patch brings version and release number generated at build time using git tags or fixed content from VERSION file. With git tag, version/release number are got from output of 'git describe --tags --match "v[0-9]*"' command. This behavior can be overriden by having VERSION file with fixed version/release. The VERSION file should have text describing version and release for example something like 'v3.4.0-1' For testing this patch, its required to remove autom4te.cache directory to avoid seeing previously set version. BUG: 1074919 Change-Id: I8f68172e8b389b0ba0846e9adb4b597e67a909aa Signed-off-by: Bala.FA <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Niels de Vos <> Reviewed-by: Kaleb KEITHLEY <>
Diffstat (limited to '')
1 files changed, 4 insertions, 1 deletions
diff --git a/ b/
index 5e0c7c0dc..245812405 100644
--- a/
+++ b/
@@ -83,7 +83,7 @@ Vendor: Fedora Project
-Release: 1%{?dist}
+Release: 0.@PACKAGE_RELEASE@%{?dist}
License: GPLv2 or LGPLv3+
@@ -950,6 +950,9 @@ if [ $1 -ge 1 ]; then
+* Wed Apr 02 2014 Arumugam Balamurugan <>
+- add version/release dynamically (#1074919)
* Wed Mar 26 2014 Poornima G <>
- Include the hook scripts of add-brick, volume start, stop and set