Re: Needs help to finalize partio.spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





On Sat, Jul 18, 2020 at 7:47 PM Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> wrote:
Hello team,

I am about to package partio[1], a component used by openshadinglanguage
(a new dependency for Blender) but hit an issue relate to an
non-versioned python files. Will someone show pointer?

Thanks in advance.

Reference:

[1]
https://download.copr.fedorainfracloud.org/results/luya/openshadinglanguage/fedora-rawhide-x86_64/01559509-partio/partio.spec

COPR:
https://download.copr.fedorainfracloud.org/results/luya/openshadinglanguage/fedora-rawhide-x86_64/01559509-partio/

--
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


--
Chedi Toueiti

* Due to the constant fluctuation in customer personalities, we cannot be responsible for the mental stability of any one member of our staff.

** My opinions may have changed, but not the fact that I am right.

*** I always try to go the extra mile at work, but my boss always finds me and brings me back.

_______________________________________________
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux