packaging: Fix to use build dir path with source name 00/272700/2 accepted/tizen/unified/20220323.062707 submit/tizen/20220323.023335
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 23 Mar 2022 01:51:51 +0000 (10:51 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 23 Mar 2022 02:11:09 +0000 (11:11 +0900)
This spec has different spec name and source name and it causes
error during setup command if name is not set with '-n' option.
Fix to use build dir path with source name with '-n' option.

Change-Id: I5567e0bdf43836c8ee243ad894c1603fe8cce422
Fixes: commit 7ebcfd522cb2 ("spec: packaging and defconfigs")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/linux-amlogic.spec

index 45bb22b..2319b2a 100644 (file)
@@ -190,7 +190,7 @@ counter events as well as various kernel internal events.
 ## End of Packages lists
 
 %prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
 
 %build
 %{?asan:/usr/bin/gcc-unforce-options}