Run rpmlint of binary package delivering ghost manual pages. Example with `whois' package: $ rpmlint x86_64/whois-5.0.11-1.fc17.x86_64.rpm [...] whois.x86_64: W: file-not-utf8 /usr/share/man/man1/whois.1.gz [...] The ghost file is created with %files line: %ghost %verify(not md5 size mtime) %{_mandir}/man1/%{name}.1.gz I think rpmlint should not examine content of ghost files as they do not exist at installation time.
The bug report is perhaps technically true but.... What is the purpose of %ghost'ing (and customizing the %verify) for the manpage? Naively, I'd say that the spec file should be changed in this case.... At the moment, I can't think of any file on /usr that should be %ghost'd.
The purpose is <https://fedoraproject.org/wiki/Packaging:Alternatives>. The ghost flag is saved in binary package, so just skipping flagged files should be enough to fix rpmlint. You can practice with live whois package. It's available since F15.
Fixed upstream now although this is a rare case (the latter hunk of the patch): http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1886
(In reply to comment #2) > The purpose is <https://fedoraproject.org/wiki/Packaging:Alternatives>. > > The ghost flag is saved in binary package, so just skipping flagged files > should be enough to fix rpmlint. You can practice with live whois package. It's > available since F15. Okay. That explains the %ghost. Isn't the %verify extraneous with %ghost used in this manner?
rpmlint-1.3-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpmlint-1.3-2.fc15
rpmlint-1.3-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpmlint-1.3-2.fc14
rpmlint-1.3-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rpmlint-1.3-2.fc16
The %verify presents to inhibit content checking but to observe mode of the file (e.g. make sure regular user cannot write into a log).
Package rpmlint-1.3-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpmlint-1.3-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14240 then log in and leave karma (feedback).
rpmlint-1.3-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.3-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.3-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.