From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461) Description of problem: When rebuilding or recompiling the postfix RPM via the postfix src rpm it would be exceptionally nice if it looked at your CCARGS and AUXLIBS environment variables for compilation. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Set CCARGS with '> export CCARGS="-I/usr/include/mysql"' 2. Run rpmbuild --rebuild or --recompile on src.rpm Actual Results: Compiles with predefined CCARGS and AUXLIBS - defined in postfix.spec Expected Results: Should inherit exported args to allow for customized building Additional info: <><> START DIFF -U <><> --- postfix-old.spec 2002-10-25 12:15:40.000000000 -0600 +++ postfix.spec 2002-10-25 12:11:24.000000000 -0600 @@ -143,8 +143,8 @@ %build umask 022 -CCARGS= -AUXLIBS= +CCARGS=${CCARGS} +AUXLIBS=${AUXLIBS} %ifarch s390 s390x ppc CCARGS="${CCARGS} -fsigned-char" <><> END DIFF -U <><>
Here at Red Hat we worry a lot about reproducable builds. Having the spec file inadvertantly pick something up from the environment is an uncomfortable feeling. It's easy to edit the spec file and I think thats the right answer in this case.