Bug 246819

Summary: files in /usr/share/mantis marked as documentation
Product: [Fedora] Fedora Reporter: Gianluca Sforna <giallu>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.4.2.1-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-27 21:48:24 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
Stricter docdir checking none

Description Gianluca Sforna 2007-07-05 07:58:03 UTC
Description of problem:
The mantis package has most of its files in /usr/share/mantis. Running:

rpm-q --docfiles mantis

all of them are marked as documentation, though the spec file does not list them
in the %doc section.

Comment 1 Panu Matilainen 2007-07-05 10:23:03 UTC
Created attachment 158577 [details]
Stricter docdir checking

Yeah, it's an ancient and even documented bug:
/**
 * Test if file is located in a %docdir.
 * @bug Use of strstr(3) might result in false positives.
...

With the attached patch, no false positives should happen. 
4.4.2.1 (rc2) is in "regression fixes only" mode so not applied in rpm.org yet.

Comment 2 Jeff Johnson 2007-07-10 19:33:08 UTC
UPSTREAM at rpm5.org too.

Comment 3 Panu Matilainen 2007-08-09 13:38:37 UTC
Upstream at rpm.org and next rawhide build too. F7 should inherit the fix
shortly, leaving open until then.

Comment 4 Fedora Update System 2007-08-13 17:03:10 UTC
rpm-4.4.2.1-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2007-08-27 21:46:59 UTC
rpm-4.4.2.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.