1
0
forked from pool/virtualbox

Indent large macro block at start-of-file

This commit is contained in:
Jan Engelhardt 2024-12-29 16:48:43 +01:00
parent 86fdbe5dc4
commit c2cd5e2e10

View File

@ -17,7 +17,7 @@
%if "@BUILD_FLAVOR@" == "kmp"
### macros for virtualbox-kmp ###
# macros for virtualbox-kmp
%define main_package 0
%define kmp_package 1
%if 0%{?suse_version} > 1600
@ -30,7 +30,7 @@
%define kernel_module_directory /lib/modules
%endif
%else
### macros for virtualbox main package ###
# macros for virtualbox main package ###
%define main_package 1
%define kmp_package 0
%define package_summary VirtualBox is an Emulator
@ -42,10 +42,13 @@
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%endif
# Do not provide libGL.so symbols - they are owned by Mesa already and this could potentially confuse rpm/zypp
# Do not provide libGL.so symbols - they are owned by Mesa already and
# this could potentially confuse rpm/zypp
%global __provides_exclude ^libE?GL.so.1.*$
# With 32-bit builds, the job limit cannot be larger than 2, otherwise the build runs out of memory.
# For 64-bit builds, no memory limit is reached when more jobs are run, but the builds crash with strange errors.
# With 32-bit builds, the job limit cannot be larger than 2, otherwise
# the build runs out of memory.
# For 64-bit builds, no memory limit is reached when more jobs are run,
# but the builds crash with strange errors.
# For the above reasons, limit the number of jobs to 2.
%define _vbox_instdir %{_prefix}/lib/virtualbox
%define _udevrulesdir %{_prefix}/lib/udev/rules.d