packaging: Change source name with spec name 26/272826/1 accepted/tizen/unified/20220328.131520 submit/tizen/20220328.020708
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 25 Mar 2022 06:42:33 +0000 (15:42 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 25 Mar 2022 06:46:26 +0000 (15:46 +0900)
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 <sw0312.kim@samsung.com>
packaging/linux-amlogic.spec

index 2319b2a..62048e3 100644 (file)
@@ -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}