From 1f1d11101d3f27d0f23be7581054e991bcc9a37d Mon Sep 17 00:00:00 2001 From: ebasov Date: Fri, 17 Jan 2025 16:23:02 +0300 Subject: [PATCH] Moving a variable --- SPECS/kernel-6.1.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPECS/kernel-6.1.spec b/SPECS/kernel-6.1.spec index 7fe3c33..065358e 100644 --- a/SPECS/kernel-6.1.spec +++ b/SPECS/kernel-6.1.spec @@ -1271,12 +1271,13 @@ fi \ # Ensure modules are signed *after* all invocations of # strip have occured, which are in __os_install_post. # +pushd linux-%{KVERREL}${Variant:+-${Variant}} > /dev/null + %define __spec_install_post \ %{__arch_install_post}\ %{__os_install_post}\ %{__modsign_install_post} -pushd linux-%{KVERREL} > /dev/null # We estimate the size of the initramfs because rpm needs to take this size # into consideration when performing disk space calculations. (See bz #530778)