From f1c08abe2be490588d059a0dfba64001862323d9 Mon Sep 17 00:00:00 2001 From: ebasov Date: Tue, 3 Dec 2024 21:16:06 +0300 Subject: [PATCH] Error initializing the %{arch} macro, replacing it with {%_build_arch} --- SPECS/kernel-lt-6.1.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/kernel-lt-6.1.spec b/SPECS/kernel-lt-6.1.spec index a2c3f7c..f67c1c9 100644 --- a/SPECS/kernel-lt-6.1.spec +++ b/SPECS/kernel-lt-6.1.spec @@ -711,7 +711,7 @@ popd > /dev/null %define __modsign_install_post \ if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ - %{SOURCE21} linux-%{version}-%{release}.%{arch}/certs/signing_key.pem.sign linux-%{version}-%{release}.%{arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ + %{SOURCE21} linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.pem.sign linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \