On 2020-07-18 12:11 p.m., chedi toueiti
wrote:
That is what I figure out after considering the Fedora Python guideline.The error in your build.log ()error: Installed (but unpackaged) file(s) found: /usr/lib64/python/site-packages/partedit.py /usr/lib64/python/site-packages/partinspect.py /usr/lib64/python/site-packages/partjson.py Installed (but unpackaged) file(s) found: /usr/lib64/python/site-packages/partedit.py /usr/lib64/python/site-packages/partinspect.py /usr/lib64/python/site-packages/partjson.py
Indicate that you have installed some files but did not list them in the %files section, alghouth,
These paths are not the standard install paths for python files.
going by the line #Remove files from unversioned python directory rm -f %{buildroot}%{python_sitearch}/*.py
I think you were intending to delete them to but
the macro %{python3_sitearch}
expands to /usr/lib64/python3.X/site-packages
on 64bit architectures (e.g. x86_64) and/usr/lib/python3.X/site-packages
on 32bit.so maybe update your install script or replace the deletion line as following
rm -f %{buildroot}/usr/lib64/python/site-packages/*.py
That suggestion did the trick as seen on the scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=47394295
Thank you for your help.
-- Luya Tshimbalanga Fedora Design Team Fedora Design Suite maintainer
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx