[389-devel] Please Review: Add git commit hash to developer rpm build name

2013-04-22 Thread Nathan Kinder


From 52fb682ceb0b1f03de26b6f9d56a8ee2476d9422 Mon Sep 17 00:00:00 2001
From: Nathan Kinder nkin...@redhat.com
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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel

Re: [389-devel] Please Review: Add git commit hash to developer rpm build name

2013-04-22 Thread Noriko Hosoi

Nathan Kinder wrote:




--
389-devel mailing list
389-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel

ack!
--
389-devel mailing list
389-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel

[389-devel] Please review: Ticket #47341 - logconv.pl -m time calculation is wrong

2013-04-22 Thread Rich Megginson

https://fedorahosted.org/389/attachment/ticket/47341/0001-Ticket-47341-logconv.pl-m-time-calculation-is-wrong.patch
--
389-devel mailing list
389-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel