Versions : Example grub-0.97-66.fc14.src.rpm : 0.97 is the "major" version number.
66 is "minor" = build version. "66" can be changed in the file 'grub.spec',
thus indicating a later build : The command 'rpm -Uvh <package', that yum uses,
should the upgrade the package.
Say you are using 'minor's starting with 500, no Fedora package would ever
come close to that with a later build number.
About CFLAGS : Please look into the spec file. Example, a random grub :
Code:
CFLAGS="-Os -g -fno-strict-aliasing -Wall -Werror -Wno-shadow"
if [ "$GCCVERS" == "4" ]; then
CFLAGS="$CFLAGS -Wno-pointer-sign"
fi
%ifarch x86_64
CFLAGS="$CFLAGS -static"
%endif
export CFLAGS
%configure --sbindir=/sbin --disable-auto-linux-mem-opt
make
And the rpm account : "Setting up an unpreviledged rpmbuild account in /home/<name>/":
http://www.linuxquestions.org/questi...1-a-766486/#13
→ post # 13.