VirtualBox

Changeset 87446 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jan 26, 2021 9:36:49 PM (4 years ago)
Author:
vboxsync
Message:

Installer/linux/rpm: try to get python dependencies under control

File:
1 edited

Legend:

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

    r84974 r87446  
    2222%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
    2323%global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$
     24%global __requires_exclude ^/usr/bin/python([23](\\.[0-9]+))?$
    2425%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
    2526
     
    157158  for i in rdesktop-vrdp.tar.gz rdesktop-vrdp-keymaps; do
    158159    mv $i $RPM_BUILD_ROOT/usr/share/virtualbox; done
     160  # Very little needed tool causing python compatibility trouble. Do not ship.
     161  rm -f $RPM_BUILD_ROOT/usr/share/virtualbox/rdesktop-vrdp-keymaps/convert-map
    159162  mv rdesktop-vrdp $RPM_BUILD_ROOT/usr/bin
    160163%endif
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