Description of problem: %define directives in RPM spec file comment lines are interpreted. This contradicts the documentation, which specifies that "Any text following the comment character will be ignored by RPM." Version-Release number of selected component (if applicable): rpm-4.0.4-7x.20 Spec file: %define foo xxx #%define foo yyy %prep echo %{foo} Steps to Reproduce: 1. Create sample spec file 2. Run rpm -bp Actual results: yyy Expected results: xxx
The documentation is wrong.
Aah, so it is a "feature".