Bug 1065463
Summary: | Commented %define still %defines | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hal Duston <hduston> |
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | ffesti, jzeleny, mjs, nobody+pnasrat, novyjindrich, packaging-team-maint, pknirsch, pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 143874 | Environment: | |
Last Closed: | 2014-02-27 09:55:03 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
Hal Duston
2014-02-14 17:31:59 UTC
Re-opening this bug, 9 years later. This may be a known limitation to the developers of rpm itself, but it is NOT a known limitation to anyone else. If rpmbuild can be prevented from expanding macros (eg. %define) in false branch of %if clause, it ought to be able to be prevented from expanding macros in a comment line. It's not a limitation, that macros are expanded everywhere intentional behavior for all I can tell. Clearly it breaks the principle of least surprise in specs, but there are packages and other systems that rely on the (documented even) behavior, we cant just go changing it either. *** This bug has been marked as a duplicate of bug 594672 *** |