[Rpm-maint] [rpm-software-management/rpm] Python generators: Use nonstandardlib for purelib definition (#483)

Miro Hrončok notifications at github.com
Sat Jul 28 20:37:53 UTC 2018


The purelib and platlib were both defined to /usr/lib64/python on 64bits systems. This is because:

    >>> get_python_lib(standard_lib=1, plat_specific=0)
    '/usr/lib64/python3.7'

    >>> get_python_lib(standard_lib=1, plat_specific=1)
    '/usr/lib64/python3.7'

    >>> get_python_lib(standard_lib=0, plat_specific=0)
    '/usr/lib/python3.7/site-packages'

    >>> get_python_lib(standard_lib=0, plat_specific=1)
    '/usr/lib64/python3.7/site-packages'

So now we use standard_lib=0 to get the site-packages base path from /usr/lib and not /usr/lib64.

See https://bugzilla.redhat.com/show_bug.cgi?id=1609492

And https://src.fedoraproject.org/rpms/python-rpm-generators/pull-request/2

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/483

-- Commit Summary --

  * Python generators: Use nonstandardlib for purelib definition

-- File Changes --

    M scripts/pythondistdeps.py (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/483.patch
https://github.com/rpm-software-management/rpm/pull/483.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180728/840ec629/attachment-0001.html>


More information about the Rpm-maint mailing list