VirtualBox

Changeset 87455 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jan 27, 2021 8:01:03 PM (4 years ago)
Author:
vboxsync
Message:

Installer/linux/rpm: Get rid of all dependencies to python. More recent rpm dependency autodetection creates "python(abi) = X.Y" if there is any file /usr/lib/pythonX.Y, and it also looks carefully at #!.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r87446 r87455  
    2121%define %CHM% 1
    2222%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
    23 %global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$
    24 %global __requires_exclude ^/usr/bin/python([23](\\.[0-9]+))?$
     23%global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$|^/usr/lib/python.*$|^.*\\.py$
    2524%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
    2625
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette