We need to set the srcdir variable in order for the most recent git hash to be determined by VERSION.sh. This patch will result in deveoper RPM builds having the git commit hash in the release field.
@@ -1,5 +1,9 @@
#!/bin/sh
+# Set srcdir so VERSION.sh is able to
+# determine the last git commit hash.
+srcdir=`pwd`
+
# Source VERSION.sh to set the version
# and release environment variables.
source ./VERSION.sh