| Summary: | rpm lacks mechanism for comments (quoting or how you can name it) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roman Rakus <rrakus> |
| Component: | rpm | Assignee: | Fedora Packaging Toolset Team <packaging-team> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | ffesti, herrold, jnovy, mbroz, pmatilai, susi.lehtola, tsmetana |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 594672 | Environment: | |
| Last Closed: | 2012-11-19 13:41:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 594672 | ||
| Bug Blocks: | |||
|
Description
Roman Rakus
2012-01-17 10:58:43 UTC
Or you can add special macro %rem, which will remove every arguments:
%rem %configure - rpm will expand it to empty line (or just empty if possible)
- or -
%{rem %configure} - but this is not so pretty
> %rem %configure - rpm will expand it to empty line (or just empty if possible)
MS DOS rulez, wonderful :-) (Sorry, couldn't resist.)
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. There is and always has been a way to escape macro expansion: add another %. So to comment out a '%configure' so it doesn't get expanded, you'd use: #%%configure ...but in practise its usually easier to just replace the % with a #: #configure Sorry BASIC and MS-DOS fans, I'm not going to add %rem ;) |