Bug 9415

Summary: Macros get expanded within comments in rpm 3.0.3
Product: [Retired] Red Hat Linux Reporter: Thomas Ribbrock <emgaron>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: emgaron
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-21 10:44:11 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 Thomas Ribbrock 2000-02-14 01:05:39 UTC
rpm 3.0.3 seems to expand macros within comments. Example:

Having the following two lines

# User-Defined Macros:
# %define <name> <expansion>

in a spec file will lead to an error message:
"Macro % has illegal name (%define)"

This was working ok in rpm 3.0 and 3.0.2.

Regards,

Thomas

Comment 1 Jeff Johnson 2000-02-21 10:44:59 UTC
*** This bug has been marked as a duplicate of 5364 ***