Bug 190285

Summary: rpmbuild ignore sometime remark symbol
Product: [Fedora] Fedora Reporter: Frank Büttner <bugzilla>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: 4   
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: 2006-04-30 22:30:28 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:
Attachments:
Description Flags
Demo file for the problem none

Description Frank Büttner 2006-04-30 10:54:39 UTC
Description of problem:
The commend mark # is sometimes ignored

Version-Release number of selected component (if applicable):
rpm-build-4.4.1-23

How reproducible:
every time

Steps to Reproduce:
1. run rpmbuild -bb bug.spec
  
Actual results:
The variable bugtext contains dontShowThis

Expected results:
The variable contains Showthis

Additional info:

Comment 1 Frank Büttner 2006-04-30 10:54:39 UTC
Created attachment 128409 [details]
Demo file for the problem

Comment 2 Jeff Johnson 2006-04-30 22:30:28 UTC
Macros are expanded whereever they are encountered, in comments, within strings, everywhere.

Change
    #%define bugtext dontShowThis
to
    #%%define bugtext dontShowThis
to prevent the macro from being expanded and defining "dontShowThis"

Comment 3 Jeff Johnson 2006-04-30 22:32:48 UTC
*** Bug 190286 has been marked as a duplicate of this bug. ***