%{kversion}

This commit is contained in:
Sergey Zhemoytel 2024-11-16 08:35:32 +00:00
parent 05df22a5c2
commit 24e5651213
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,4 @@
sources:
!!python/str "kernel-6.6-rosa-pat\u0441hes.tar.gz": 2afce892e44c18514f9dff6bd4b9e8b0142a1c72
linux-6.6.tar.xz: c8dbfa8285f1a90596a227690653d84b9eb2debe
patch-6.6.27.xz: 49a65e776f4fc81143f187dd95c94024724df198

View file

@ -142,6 +142,7 @@ URL: http://www.kernel.org
#
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.xz
Source1: kernel-6.6-rosa-patсhes.tar.gz
# This is for disabling *config, mrproper, prepare, scripts on -devel rpms
# Needed, because otherwise the -devel won't build correctly.
Source2: disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch
@ -172,11 +173,11 @@ Patch1: https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{k
# generated during that process, xmlto tries to get DTD files from the Net.
# If it fails, the whole build fails, which is unfortunate. Let us avoid
# this.
Patch101: perf-xmlto-skip-validation.patch
#Patch101: perf-xmlto-skip-validation.patch
# http://bugs.rosalinux.ru/show_bug.cgi?id=6235
# http://bugs.rosalinux.ru/show_bug.cgi?id=6459
Patch102: audit-make-it-less-verbose.patch
#Patch102: audit-make-it-less-verbose.patch
#if #{mdvver} >= 201900
# May help when building with GCC 8+.
@ -187,7 +188,7 @@ Patch102: audit-make-it-less-verbose.patch
#Patch109: fs-aufs.patch
# Other patches
Patch120: objtool-sync-check.sh-set-the-exit-code-explicitly.patch
#Patch120: objtool-sync-check.sh-set-the-exit-code-explicitly.patch
####################################################################
Autoreqprov: no
@ -693,6 +694,7 @@ should use the 'kernel-devel' package instead.
%prep
%setup -q -n %top_dir_name -c
cd %src_dir
tar -xf %{S:1}
%apply_patches