What are differences between real and rpmbuild's environment?

Rex Dieter rdieter at math.unl.edu
Mon Nov 8 15:26:22 UTC 2010


Michal Hlavinka wrote:

> I'm trying to find out what are differences between environment for local
> rpm build and usual user's environment. 

You mean the difference between rpmbuild and... a manual "./configure; 
make"?

For starters, see rpm's output from

rpm --eval "%{configure}" which sets variance build/optimization flags.

and rpmbuild also does:
LANG=C ; export LANG
unset DISPLAY

-- Rex



More information about the devel mailing list