Changeset 80570 in vbox
- Timestamp:
- Sep 3, 2019 4:27:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r80568 r80570 21 21 %define VBOXDOCDIR %{_defaultdocdir}/%NAME% 22 22 %global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$ 23 %{!?python_sitelib: %define python_sitelib %(%{ vbox_python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}23 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} 24 24 25 25 Summary: Oracle VM VirtualBox … … 42 42 %if %{?__python3:1}%{!?__python3:0} 43 43 %define vbox_python %{__python3} 44 %define vbox_python_sitelib %{python3_sitelib} 44 45 %else 45 46 %define vbox_python %{__python} 47 %{?rpm_suse: %define vbox_python_sitelib %{py_sitedir}} 48 %{!?rpm_suse: %define vbox_python_sitelib %{python_sitelib}} 46 49 %endif 47 50 … … 332 335 %doc %{VBOXDOCDIR}/* 333 336 %if %{?with_python:1}%{!?with_python:0} 334 %{?rpm_suse: %{py_sitedir}/*} 335 %{!?rpm_suse: %{python_sitelib}/*} 337 %{vbox_python_sitelib}/* 336 338 %endif 337 339 /etc/vbox
Note:
See TracChangeset
for help on using the changeset viewer.