- Timestamp:
- Jul 28, 2021 1:11:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r90038 r90367 49 49 %{!?rpm_suse: %define vbox_python_sitelib %{python_sitelib}} 50 50 %endif 51 52 # our Qt5 libs are built on EL5 with ld 2.17 which does not provide --link-id=53 %undefine _missing_build_ids_terminate_build54 51 55 52 # Remove source code from debuginfo package, needed for Fedora 27 and later … … 125 122 mv VBoxTunctl $RPM_BUILD_ROOT/usr/bin 126 123 %if %{?is_ose:0}%{!?is_ose:1} 124 %if "%BUILDREL%" == "el7" 125 # For el7 we use gcc from devtoolset-4, which is not suitable for kernel work. 126 old_path="$PATH" 127 PATH=${PATH%/opt/rh/devtoolset-4/root/bin:} 128 PATH=${PATH%/opt/rh/devtoolset-4/root/usr/bin:} 129 %endif 127 130 for d in /lib/modules/*; do 128 131 if [ -L $d/build ]; then … … 152 155 fi 153 156 done 157 %if "%BUILDREL%" == "el7" 158 # For el7 restore PATH, see above. 159 PATH="$old_path" 160 unset old_path 161 %endif 154 162 rm -r src 155 163 %endif
Note:
See TracChangeset
for help on using the changeset viewer.

