Blame SOURCES/seabios-Place-rpm-version-info-into-version-banner.patch

867c1e
From 25c134c1c2e5966ed9ba604fb73e4c828131146f Mon Sep 17 00:00:00 2001
867c1e
From: Miroslav Rezanina <mrezanin@redhat.com>
867c1e
Date: Thu, 22 Aug 2013 12:06:40 +0200
867c1e
Subject: [PATCH 4/5] Place rpm version info into version banner
867c1e
867c1e
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
867c1e
Message-id: <1377173200-17433-1-git-send-email-mrezanin@redhat.com>
867c1e
Patchwork-id: 53692
867c1e
O-Subject: [RHEL7 seabios PATCH] Place rpm version info into version banner
867c1e
Bugzilla: 894979
867c1e
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
867c1e
RH-Acked-by: Bandan Das <bsd@redhat.com>
867c1e
RH-Acked-by: Michal Novotny <minovotn@redhat.com>
867c1e
867c1e
From: Miroslav Rezanina <mrezanin@redhat.com>
867c1e
867c1e
Bugzilla: 894979
867c1e
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6199274
867c1e
867c1e
This patch introduces two changes:
867c1e
867c1e
1) Do not append date and hostname to version string.
867c1e
867c1e
2) Use rpm version insted of git commit as the version string.
867c1e
867c1e
Both changes are trivial so they are not posted in separate patches.
867c1e
867c1e
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
867c1e
---
867c1e
 redhat/seabios.spec.template | 5 ++---
867c1e
 tools/buildversion.sh        | 1 -
867c1e
 2 files changed, 2 insertions(+), 4 deletions(-)
867c1e
867c1e
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
867c1e
---
867c1e
 redhat/seabios.spec.template |    5 ++---
867c1e
 tools/buildversion.sh        |    1 -
867c1e
 2 files changed, 2 insertions(+), 4 deletions(-)
867c1e
867c1e
diff --git a/tools/buildversion.sh b/tools/buildversion.sh
867c1e
index c8c1725..395e6d6 100755
867c1e
--- a/tools/buildversion.sh
867c1e
+++ b/tools/buildversion.sh
867c1e
@@ -11,7 +11,6 @@ elif [ -f .version ]; then
867c1e
 else
867c1e
     VERSION="?"
867c1e
 fi
867c1e
-VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
867c1e
 echo "Version: ${VERSION}"
867c1e
 
867c1e
 # Build header file
867c1e
-- 
867c1e
1.7.1
867c1e