path: root/version.m4
diff options
authorStephen Gallagher <>2010-01-22 08:36:13 -0500
committerStephen Gallagher <>2010-01-22 09:14:04 -0500
commit796b784bcdce3154d204bfac0a88f92fbe66d2df (patch)
tree2da1bfb5ba9498c4d1751edab5c0dcf107c25834 /version.m4
parent389169e975990a4e07b8fd948aaac4b13d7897e8 (diff)
Use version.m4 for setting the SSSD version
This is the preferred way of setting the version in a file, as autotools will properly monitor this file for changes and rerun autoconf/configure when necessary to update the version. This means that we don't need to manually perform an autoreconf in order to build a new RPM
Diffstat (limited to 'version.m4')
1 files changed, 12 insertions, 0 deletions
diff --git a/version.m4 b/version.m4
new file mode 100644
index 000000000..a78a611c0
--- /dev/null
+++ b/version.m4
@@ -0,0 +1,12 @@
+# Primary version number
+m4_define([VERSION_NUMBER], [1.0.99])
+# If the PRERELEASE_VERSION_NUMBER is set, we'll append
+# it to the release tag when creating an RPM or SRPM
+# This is intended for build systems to create snapshot
+# RPMs. The format should be something like:
+# .20090915gitf1bcde7
+# and would result in an SRPM looking like:
+# sssd-0.5.0-0.20090915gitf1bcde7.fc11.src.rpm