fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
128 stars 39 forks source link

error: Installed (but unpackaged) file(s) found: #60

Closed xsuchy closed 8 years ago

xsuchy commented 8 years ago
pyp2rpm --srpm discover
mock --rebuild discover.src.rpm
....

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/msuchy/rpmbuild/BUILDROOT/python-discover-0.4.0-1.fc24.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python2.7/site-packages/discover.py
   /usr/lib/python2.7/site-packages/discover.pyc
   /usr/lib/python2.7/site-packages/discover.pyo

It seems that the parser cannot read py_modules from setup.py. It is there written as script, but since we interpret setup.py, it should be set.