%endif
%define rel 1
-%define basever 5.17
-%define postver .5
+%define basever 5.18
+%define postver .14
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
License: GPL v2
Group: Base/Kernel
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
-# Source0-md5: 07321a70a48d062cebd0358132f11771
+# Source0-md5: 58e80452e2d8e1993cd7ec95e697ab5a
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5: cdcffeee90d436b93ecb621d3ce940d8
+# Patch0-md5: 05dee8a9a2d04a0cde691b449114177b
%endif
Source1: kernel.sysconfig
BuildRequires: uboot-mkimage
%endif
BuildRequires: xz >= 1:4.999.7
+BuildConflicts: dwarves < 1.16
Requires(post): coreutils
Requires(post): geninitrd >= 12787-6
Requires(post): kmod >= %{kmod_ver}
scripts/show_delta \
tools/hv/vmbus_testing \
tools/kvm/kvm_stat/kvm_stat \
- tools/testing/selftests/exec/binfmt_script
+ tools/testing/selftests/exec/binfmt_script.py
find -name '*.pl' -print0 | \
xargs -0 %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' \
%ifarch x32
CONFIG_BPF_PRELOAD=n
%endif
+%if %{_ver_ge %(rpm -q --qf='%%{VERSION}' gcc) 12}
+ CONFIG_INIT_STACK_ALL_ZERO=y
+ CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=n
+%else
+ CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
+%endif
EOCONFIG
%if %{with rescuecd}