Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 99253 - %define interpreted inside comment lines
%define interpreted inside comment lines
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-07-16 13:54 EDT by NN Poster
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-16 14:06:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description NN Poster 2003-07-16 13:54:59 EDT
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):

Spec file:
	%define foo xxx
	#%define foo yyy
	echo %{foo}

Steps to Reproduce:
1. Create sample spec file
2. Run rpm -bp

Actual results:

Expected results:
Comment 1 Jeff Johnson 2003-07-16 14:06:45 EDT
The documentation is wrong.
Comment 2 NN Poster 2003-07-19 15:28:04 EDT
Aah, so it is a "feature".

Note You need to log in before you can comment on or make changes to this bug.