Bug 76749
| Summary: | Postfix spec file should inherit CCARGS/AUXLIBS envars | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Corey Crawford <ccrawford> |
| Component: | postfix | Assignee: | John Dennis <jdennis> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | timp |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-06-13 15:19:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. |
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 <><>