diff --git a/kernel.spec b/kernel.spec index 95f1806..9528014 100644 --- a/kernel.spec +++ b/kernel.spec @@ -42,6 +42,11 @@ %define kversion %{kernelversion}.%{patchlevel}.%{sublevel} %define kverrel %{kversion}-%{rpmrel} +# The revision of the patchset and the configs to use. Usually, the name of +# the branch in https://abf.rosalinux.ru/soft/kernel-patches-and-configs/ +# git repository. +%define revision v4.1.x + # When we are using a pre/rc patch, the tarball is a sublevel -1 %if %kpatch %if %sublevel @@ -357,7 +362,7 @@ Source53: cpupower.path # Our patch tarball, # see https://abf.rosalinux.ru/soft/kernel-patches-and-configs/ -Source100: https://abf.io/soft/kernel-patches-and-configs/archive/kernel-patches-and-configs-%{kversion}-%{rpmrel}.tar.gz +Source100: https://abf.io/soft/kernel-patches-and-configs/archive/kernel-patches-and-configs-%{revision}.tar.gz # #################################################################### # # Patches @@ -1097,7 +1102,7 @@ should use the 'kernel-devel' package instead. %setup -q -n %top_dir_name -c %setup -q -n %top_dir_name -D -T -a100 -%define patches_dir ../kernel-patches-and-configs-%{kversion}-%{rpmrel}/ +%define patches_dir ../kernel-patches-and-configs-%{revision}/ cd %src_dir