https://bugzilla.redhat.com/show_bug.cgi?id=1748059
--- Comment #3 from Elliott Sales de Andrade quantum.analyst@gmail.com --- (In reply to Carmen Bianca Bakker from comment #2)
- You should delete PKG-INFO and src/license_expression.egg-info in %prep.
These files don't exist in the source tarball, and they aren't included in the final RPM either. I'm not sure about this step.
They definitely do:
$ tar tf license-expression-0.999.tar.gz | grep -i info license-expression-0.999/src/license_expression.egg-info/ license-expression-0.999/src/license_expression.egg-info/SOURCES.txt license-expression-0.999/PKG-INFO
but it's true that PKG-INFO doesn't end up in the RPM (I think; there's a file with the same name somewhere else though).