Open andy-maier opened 4 years ago
I'm unable to reproduce the behavior you're reporting, which will make it difficult to address the request. When I run simply "pyp2rpm pywbem", the %description sections don't appear to contain any RST markup.
How are you invoking the application?
I can confirm that this is aproblem with a fresh pyp2rpm on RHEL 8.
In our Pypi packages, we often have README files in RST format. pyp2rpm seems to simply copy the first few line of the README file into the generated RPM file, without parsing it to eliminate RST comments.
For an example, look at https://raw.githubusercontent.com/pywbem/pywbem/master/README_PYPI.rst. Here is what pyp2rpm generates from that:
It does not even get beyond the comment section.
Proposal: