diff --git a/buildcore.sh b/buildcore.sh index d9e7a7899..0343d0376 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -180,7 +180,7 @@ function setversionvars { VER=`cat Version` fi XCATVER=$VER - export XCATVER + #export XCATVER SHORTVER=`echo $VER|cut -d. -f 1,2` SHORTSHORTVER=`echo $VER|cut -d. -f 1` BUILD_TIME=`date` diff --git a/makerpm b/makerpm index 471943f1c..f29794b10 100755 --- a/makerpm +++ b/makerpm @@ -215,6 +215,8 @@ fi OSNAME=$(uname) if [ -z "$XCATVER" ] ; then VER=`cat Version` + REL="--define" + EASE='usedate 1' else VER=$XCATVER REL="--define"