Blob Blame History Raw
From 25c134c1c2e5966ed9ba604fb73e4c828131146f Mon Sep 17 00:00:00 2001
From: Miroslav Rezanina <mrezanin@redhat.com>
Date: Thu, 22 Aug 2013 12:06:40 +0200
Subject: [PATCH 4/5] Place rpm version info into version banner

RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
Message-id: <1377173200-17433-1-git-send-email-mrezanin@redhat.com>
Patchwork-id: 53692
O-Subject: [RHEL7 seabios PATCH] Place rpm version info into version banner
Bugzilla: 894979
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Bandan Das <bsd@redhat.com>
RH-Acked-by: Michal Novotny <minovotn@redhat.com>

From: Miroslav Rezanina <mrezanin@redhat.com>

Bugzilla: 894979
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6199274

This patch introduces two changes:

1) Do not append date and hostname to version string.

2) Use rpm version insted of git commit as the version string.

Both changes are trivial so they are not posted in separate patches.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 redhat/seabios.spec.template | 5 ++---
 tools/buildversion.sh        | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 redhat/seabios.spec.template |    5 ++---
 tools/buildversion.sh        |    1 -
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tools/buildversion.sh b/tools/buildversion.sh
index c8c1725..395e6d6 100755
--- a/tools/buildversion.sh
+++ b/tools/buildversion.sh
@@ -11,7 +11,6 @@ elif [ -f .version ]; then
 else
     VERSION="?"
 fi
-VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
 echo "Version: ${VERSION}"
 
 # Build header file
-- 
1.7.1