From acfde96aed9bd23257c4e6760cba45ce47a96012 Mon Sep 17 00:00:00 2001 From: ebasov Date: Tue, 3 Dec 2024 20:40:31 +0300 Subject: [PATCH] Adding the %{arch} macros --- SPECS/kernel-lt-6.1.spec | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/SPECS/kernel-lt-6.1.spec b/SPECS/kernel-lt-6.1.spec index c041b98..a2c3f7c 100644 --- a/SPECS/kernel-lt-6.1.spec +++ b/SPECS/kernel-lt-6.1.spec @@ -707,27 +707,11 @@ popd > /dev/null popd > /dev/null %install -<<<<<<< HEAD -%define __modsign_install_post %{nil} -%ifarch x86_64 -%define __modsign_install_post_arch linux-%{version}-%{release}.x86_64 -%elifarch aarch64 -%define __modsign_install_post_arch linux-%{version}-%{release}.aarch64 -%else -%define __modsign_install_post_arch "" -%endif - -%define __modsign_install_post \ -if [ "%{signmodules}" -eq "1" ]; then \ - if [ "%{with_std}" -ne "0" ]; then \ - %{SOURCE21} %{__modsign_install_post_arch}/certs/signing_key.pem.sign %{__modsign_install_post_arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ -======= %define __modsign_install_post \ if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ - %{SOURCE21} linux-%{version}-%{release}.x86_64/certs/signing_key.pem.sign linux-%{version}-%{release}.x86_64/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ ->>>>>>> parent of 48e6f06 (Adding a logical chain to define the architecture) + %{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}/ \ fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \