antsibull icon indicating copy to clipboard operation
antsibull copied to clipboard

Multiple README.md and LICENSE.md files from 140 modules breaks RPM building

Open nkadel opened this issue 2 years ago • 12 comments

I've built up some tools to publish an "ansible" RPM with ansible-5.0.0. Unfortunately, the use of multiple README.md and LICENSE.md files from the variety of modules creates a problem: recent versions of "rpmbuild", such as those in RHEL 8 and in Fedora, try to copy those all as /usr/share/doc/ansible-5.0.0/README.md and /usr/share/doc/ansible-5.0.0/LICENSE.md.

I doubt I can rewrite or revise RPM to handle this better, this seems to be a new standard to reduce directory clutter under /usr/share/doc/ . How painful would it be to stuff a process in antsibull to preface the README.md and LICENSE.md filenames with the module name to avoid these conflicts?

nkadel avatar Dec 02 '21 15:12 nkadel