Bug 152020 - rpm sees #'s in %changelog as comment
Summary: rpm sees #'s in %changelog as comment
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-24 13:55 UTC by Robert Scheck
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-12 20:14:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2005-03-24 13:55:29 UTC
Description of problem:
From vim-6.3.067-1's %changelog (out of the spec file):

--- snipp ---
* Wed Mar 23 2005 Karsten Hopp <karsten> 6.3.067-1
- Newly created files got execute permission (caused by patch 66)
  #151667
--- snapp ---

From the rpm package itself:

--- snipp ---
> rpm -qp --changelog vim-6.3.067-1.src.rpm | head -n 3
* Mi Mär 23 2005 Karsten Hopp <karsten> 6.3.067-1
- Newly created files got execute permission (caused by patch 66)

>
--- snapp ---

RPM should read #'s in changelog with prefixed spaces as normal character not
as comment.

Ah, and the problem is not bash/shell related, querying the package via rpm-
python gives the same result.

Version-Release number of selected component (if applicable):
rpm-4.4.1-8
vim-6.3.067-1

How reproducible:
Everytime, see above

Actual results:
rpm sees #'s in %changelog as comment.

Expected results:
rpm shouldn't see with spaces prefixed #'s in %changelog as comment.

Comment 1 Jeff Johnson 2005-03-24 18:28:35 UTC
Lines in *.spec starting with '#' are comments, always been that way.

Your expectations add complexity for almost no gain.

Comment 2 Robert Scheck 2005-03-24 18:31:28 UTC
I simply want to have a difference in behaviour in the %changelog (it's enough 
if only there) section between:

# foo

and

 # foo

because last of it, could be the same as my original report.

Where's the problem?

Comment 3 Robert Scheck 2005-10-12 20:14:22 UTC
Closing this bugreport after talking with Jeff about it in IRC...


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