VirtualBox

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


Ignore:
Timestamp:
Sep 22, 2016 2:58:45 PM (8 years ago)
Author:
vboxsync
Message:

rpm: python fix

Location:
trunk/src/VBox/Installer/linux/rpm
Files:
2 edited

Legend:

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

    r63953 r63956  
    1717%define %SPEC% 1
    1818%define %OSE% 1
    19 %define %PYTHON 1
     19%define %PYTHON% 1
    2020%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
    2121%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  • trunk/src/VBox/Installer/linux/rpm/rules

    r63953 r63956  
    223223            -e 's|%OSE%|$(if $(ose),is_ose,not_ose)|g' \
    224224            -e 's|%SPEC%|$(rpmspec)|g' \
    225             -e 's|%PYTHON|$(if $(filter el5,$(rpmrel)),,with_python)|g' \
     225            -e 's|%PYTHON%|$(if $(filter el5,$(rpmrel)),,with_python)|g' \
    226226            -e 's|%MACROSPYTHON%|$(if $(wildcard /usr/lib/rpm/macros.python),%include /usr/lib/rpm/macros.python,)|g' \
    227227            -e 's|%INSTMOD%|$(instmod)|g' \
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