2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-02 08:18:22 +00:00

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.
This commit is contained in:
Jarrod Johnson
2017-01-17 16:49:49 -05:00
parent 06d7097f42
commit b56c811f1a

View File

@@ -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)