Nico Kadel-Garcia wrote:
> It seems that the problem existed as well with earlier versions of
> rpmbuild, say on RHEL 7, but the warning messages about "files listed
> twice" weren't generated. And various slightly differently named
> README.md and LICENSE.md files make it not as obvious as one might
> expect.

The thing is, the path stripping of %doc path/to/README is a feature. The 
directory path in the sources is not necessarily useful to replicate in the 
installed documentation directory. Removing that path stripping would be an 
incompatible change and make the doc directories of some packages a mess of 
unnecessary subdirectories. If desired, this needs a new syntax that does 
not clash with existing usage.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to