From 175794bf7d3d6901c14f8adf2f978045b779185b Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 25 Mar 2022 15:42:33 +0900 Subject: [PATCH] packaging: Change source name with spec name To support gbs incremental build fully, the setup command in spec should be without '-n' option. For it, change source name with spec name to find source directory properly during build. Change-Id: Iabe3edc88ea2792685bd1e48b1422cb732b323c2 Signed-off-by: Seung-Woo Kim --- packaging/linux-amlogic.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/linux-amlogic.spec b/packaging/linux-amlogic.spec index 2319b2aec7a2..62048e3d1158 100644 --- a/packaging/linux-amlogic.spec +++ b/packaging/linux-amlogic.spec @@ -27,7 +27,7 @@ ExclusiveArch: %{arm} aarch64 Group: System/Kernel Vendor: The Linux Community URL: https://www.kernel.org -Source0: linux-kernel-%{version}.tar.xz +Source0: %{name}-%{version}.tar.xz BuildRequires: bc BuildRequires: module-init-tools @@ -190,7 +190,7 @@ counter events as well as various kernel internal events. ## End of Packages lists %prep -%setup -q -n linux-kernel-%{version} +%setup -q %build %{?asan:/usr/bin/gcc-unforce-options} -- 2.34.1