>From 52fb682ceb0b1f03de26b6f9d56a8ee2476d9422 Mon Sep 17 00:00:00 2001 From: Nathan Kinder <nkinder@xxxxxxxxxx> Date: Mon, 22 Apr 2013 13:34:44 -0700 Subject: [PATCH] Add git commit hash to developer rpm build names 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. --- rpm/rpmverrel.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/rpmverrel.sh b/rpm/rpmverrel.sh index 064b052..86b808e 100755 --- a/rpm/rpmverrel.sh +++ b/rpm/rpmverrel.sh @@ -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 -- 1.8.1.4
-- 389-devel mailing list 389-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-devel