Bug 174594
| Summary: | SRPM uses hard-coded build-root, disregards %_buildroot | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Snyder <swsnyder> |
| Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | ekanter |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-12-02 08:49:27 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: | |||
|
Description
Steve Snyder
2005-11-30 15:40:09 UTC
There is no %_buildroot macro that I know of.
Some spec files just use %{_tmppath}/something and others use /var/tmp/something
I guess it is about 50%/50%. If you want to override it in your builds,
you need to override buildroot macro, say with
rpmbuild --buildroot=/foo/bar/baz/
and that of course overrides any specified tag.
Nevertheless, I have changed gcc41.spec in 4.1.0-0.4 to use %{_tmppath}/
in the tag, but definitely not plan to change it in older rpms.
*** Bug 187864 has been marked as a duplicate of this bug. *** |