From: Seung-Woo Kim Date: Fri, 25 Mar 2022 06:42:33 +0000 (+0900) Subject: packaging: Change source name with spec name X-Git-Tag: submit/tizen/20220328.020708^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=175794bf7d3d6901c14f8adf2f978045b779185b;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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}