https://bugzilla.redhat.com/show_bug.cgi?id=1264164 --- Comment #1 from William Moreno <williamjmorenor@xxxxxxxxx> --- %%prep %%build and %%install run ok with the spec but the mock build fails in the %%files section due to: cp: cannot stat 'LICENSE': No such file or directory The Manifest file do not include the license file: https://github.com/yac/rdoupdate/blob/master/MANIFEST.in Request upstream to include the License text in the pypi tarball, or patch the license text in %%prep. Upstream provides some test https://github.com/yac/rdoupdate/tree/master/tests So you must run the test in %%chech after build the package. You can use these new macros to build python libs: %build %py2_build %install %py2_install %check %{__python2} setup.py test Also you need to create a python2-%{name} subpackage and include a python provides macro: %package -n python2-%{name} Requires: xxxxx Recommends: xxxxx Summary: xxxxxx %{?python_provide:%python_provide python2-%{name}} Be sure to remove bundled egg.info in prep: %prep %setup -q rm -rf %{name}.egg.info -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review