Red Hat Bugzilla – Bug 246819
files in /usr/share/mantis marked as documentation
Last modified: 2007-11-30 17:12:09 EST
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.
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.
188.8.131.52 (rc2) is in "regression fixes only" mode so not applied in rpm.org yet.
UPSTREAM at rpm5.org too.
Upstream at rpm.org and next rawhide build too. F7 should inherit the fix
shortly, leaving open until then.
rpm-184.108.40.206-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
rpm-220.127.116.11-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.