13 Mar
2017
13 Mar
'17
13:31
hello, On 12.3.2017 15:41, Robert Schweikert wrote:
If I add %{python_sitelib}/*
to the %files section I end up with:
[ 14s] RPM build errors: [ 14s] File not found: /home/abuild/rpmbuild/BUILDROOT/python-datrie-0.7.1-0.x86_64/usr/lib/python2.7/site-packages/*
that's because of the difference between "sitelib" (for noarch packages) and "sitearch" (for arch-dependent ones). You'll note that this message says file not found in "/usr/lib", and the error message from your build log says that unpackaged files are in "/usr/lib64" in this case, the right entry in filelist is: %{python_sitearch}/* hope this helps m.
Thanks, Robert
[1] https://build.opensuse.org/package/live_build_log/home:rjschwei/python-datri...