From b56c811f1a4cc6a783f10c3c33eec131460f4a1a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 17 Jan 2017 16:49:49 -0500 Subject: [PATCH] Temporarily hardcode git commit The build process may not have access to git directly. Long term, the build process provide a way to bake in the git info so that src.rpms are rebuildable. --- perl-xCAT/perl-xCAT.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/perl-xCAT.spec b/perl-xCAT/perl-xCAT.spec index d0f00a4f8..416439793 100644 --- a/perl-xCAT/perl-xCAT.spec +++ b/perl-xCAT/perl-xCAT.spec @@ -24,6 +24,7 @@ Provides perl xCAT libraries for core functionality. Required for all xCAT inst Includes xCAT::Table, xCAT::NodeRange, among others. %define gitinfo %(git log -n 1 | head -n 1 | cut -f 2 -d ' ') +%define gitinfo 06d7097f42eca03db70c9eb93b8abeaf8ca1c2be %define zvm %(if [ "$zvm" = "1" ];then echo 1; else echo 0; fi) %define fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)