Changeset 63953 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Sep 22, 2016 2:44:31 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110839
- Location:
- trunk/src/VBox/Installer/linux/rpm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r63631 r63953 17 17 %define %SPEC% 1 18 18 %define %OSE% 1 19 %define %PYTHON 1 19 20 %define VBOXDOCDIR %{_defaultdocdir}/%NAME% 20 21 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} … … 36 37 %endif 37 38 39 %if %{?with_python:1}%{!?with_python:0} 38 40 %MACROSPYTHON% 41 %endif 39 42 40 43 # our Qt5 libs are built on EL5 with ld 2.17 which does not provide --link-id= … … 77 80 install -m 755 -d $RPM_BUILD_ROOT/usr/share/virtualbox 78 81 install -m 755 -d $RPM_BUILD_ROOT/usr/share/mime/packages 82 %if %{?with_python:1}%{!?with_python:0} 79 83 (export VBOX_INSTALL_PATH=/usr/lib/virtualbox && \ 80 84 cd ./sdk/installer && \ 81 85 %{__python} ./vboxapisetup.py install --prefix %{_prefix} --root $RPM_BUILD_ROOT) 86 %endif 82 87 rm -rf sdk/installer 83 88 mv nls $RPM_BUILD_ROOT/usr/share/virtualbox … … 303 308 %defattr(-,root,root) 304 309 %doc %{VBOXDOCDIR}/* 310 %if %{?with_python:1}%{!?with_python:0} 305 311 %{?rpm_suse: %{py_sitedir}/*} 306 312 %{!?rpm_suse: %{python_sitelib}/*} 313 %endif 307 314 /etc/vbox 308 315 /usr/bin/* -
trunk/src/VBox/Installer/linux/rpm/rules
r63946 r63953 223 223 -e 's|%OSE%|$(if $(ose),is_ose,not_ose)|g' \ 224 224 -e 's|%SPEC%|$(rpmspec)|g' \ 225 -e 's|%PYTHON|$(if $(filter el5,$(rpmrel)),,with_python)|g' \ 225 226 -e 's|%MACROSPYTHON%|$(if $(wildcard /usr/lib/rpm/macros.python),%include /usr/lib/rpm/macros.python,)|g' \ 226 227 -e 's|%INSTMOD%|$(instmod)|g' \
Note:
See TracChangeset
for help on using the changeset viewer.