https://bugzilla.redhat.com/show_bug.cgi?id=1771750
--- Comment #3 from Michael DePaulo mikedep333@gmail.com --- Neal, I made it exclude those files. They are merely built as a byproduct. It depends on the original "libcomps" RPM. Is this acceptable?
[mdepaulo@mdepaulo libcomps]$ rpm -qlp python36-libcomps-0.1.8-12.el7.x86_64.rpm /usr/lib64/python3.6/site-packages/libcomps /usr/lib64/python3.6/site-packages/libcomps/__init__.py /usr/lib64/python3.6/site-packages/libcomps/__pycache__ /usr/lib64/python3.6/site-packages/libcomps/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libcomps/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/libcomps/_libpycomps.so /usr/share/doc/python36-libcomps-0.1.8 /usr/share/doc/python36-libcomps-0.1.8/README.md /usr/share/licenses/python36-libcomps-0.1.8 /usr/share/licenses/python36-libcomps-0.1.8/COPYING
I did push a new commit a little while ago, to adapt to the example more of python3-rpm. Particularly for the binary PRM being "python36-libcomps".
I realized that I still have a little more work to do on the egg-info (for the Pulp project's needs.) I am working on a PR to upstream libcomps for that, then I'll backport it as a patch for the packaging. We did the same thing for createrepo_c.