Bug 219068 - rpmlint does not catch duplicate %changelog entries
Summary: rpmlint does not catch duplicate %changelog entries
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-10 10:52 UTC by manuel wolfshant
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 0.79-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-02 16:06:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description manuel wolfshant 2006-12-10 10:52:31 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.create a spec which includes %changelog twice
2.run rpmlint against either the source or the binary rpm

  
Actual results:
none

Expected results:
a warning about the duplicate entry should be issued

Additional info:
The problem was seen here:
https://www.redhat.com/archives/fedora-extras-commits/2006-December/msg00666.html.
One can notice that the spec (last lines at the above URL) introduces a
duplicate for the %changelog entry. This error is not detected by rpmlint:
#rpmlint ssmtp-2.61-11.src.rpm
W: ssmtp unversioned-explicit-provides MTA
W: ssmtp unversioned-explicit-provides smtpdaemon
W: ssmtp unversioned-explicit-provides %{_sbindir}/sendmail
#rpmlint ssmtp-2.61-11.i386.rpm
W: ssmtp unstripped-binary-or-object /usr/sbin/ssmtp
W: ssmtp symlink-should-be-relative /usr/sbin/sendmail.ssmtp /usr/sbin/ssmtp
W: ssmtp symlink-should-be-relative /usr/bin/newaliases.ssmtp /usr/sbin/ssmtp
W: ssmtp symlink-should-be-relative /usr/bin/mailq.ssmtp /usr/sbin/ssmtp
#rpm -q rpmlint
rpmlint-0.78-2.fc6.noarch

Comment 1 Ville Skyttä 2006-12-10 22:40:36 UTC
Check added upstream, will be in the next version:
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1300

Comment 2 Ville Skyttä 2007-01-03 16:26:22 UTC
Reopening until a fixed version is shipped in Fedora.

Comment 3 Ville Skyttä 2007-02-02 16:06:47 UTC
Done in upcoming 0.79-1.


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