Description of problem: When using setuptools for the build/install process most fields in the spec file are get empty. Version-Release number of selected component (if applicable): pyp2rpm-2.0.0-4.el7.noarch How reproducible: Use setuptools for setup.py Steps to Reproduce: 1. call python3 setup.py sdist 2. feed pyp2rpm with the tar file Actual results: Many fields the the spec file are empty or set as "TODO:". Expected results: Filed out fields in the spec file for which an entry in the setup.py exists. Additional info: Sample: from setuptools import setup, find_packages import sys def main(argv): setup( name="FOO", version="0.1.0", packages=find_packages(), scripts=["foo"], install_requires=[ "ldap3>=2.5.1", "email-validator>=1.0.3", "python-nss>=1.0.1" ], author="FOO", author_email="FOO", description="FOO", long_description="FOO", license="GPLv3", keywords="one word no", url="what ever", ) return 0 if __name__ == "__main__": sys.exit(main(sys.argv)) The the spec file, the fields License, Source0 is empty and Summary, URL, description are filled with TODO:"
pyp2rpm-3.3.2 from pip3 repo solve it.
Can you try this one: https://koji.fedoraproject.org/koji/taskinfo?taskID=29356621 If that doesn't work, I'll look at going up to 3.3.2...
I will test it next week, when I'm back from holiday.
Yes it will fix it.