fix a problem in perl-xCAT.spec for git commit id
This commit is contained in:
parent
f88f454e9a
commit
40319ab858
@ -8,7 +8,7 @@ if [ -z "$2" ]
|
||||
fi
|
||||
|
||||
VER=$1
|
||||
GITREF="git $2, "
|
||||
GITREF="git commit $2, "
|
||||
|
||||
BUILDDATE=`date`
|
||||
#echo ". '(built $BUILDDATE)'"
|
||||
|
@ -23,7 +23,7 @@ Provides: perl-xCAT = %{epoch}:%{version}
|
||||
Provides perl xCAT libraries for core functionality. Required for all xCAT installations.
|
||||
Includes xCAT::Table, xCAT::NodeRange, among others.
|
||||
|
||||
%define gitinfo %(git log -n 1 | head -n 1)
|
||||
%define gitinfo %(git log -n 1 | head -n 1 | cut -f 2 -d ' ')
|
||||
|
||||
%define zvm %(if [ "$zvm" = "1" ];then echo 1; else echo 0; fi)
|
||||
%define fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)
|
||||
|
Loading…
Reference in New Issue
Block a user