From: Seung-Woo Kim Date: Wed, 23 Mar 2022 01:51:51 +0000 (+0900) Subject: packaging: Fix to use build dir path with source name X-Git-Tag: submit/tizen/20220323.023335^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73f215deb0da2f71b9dfcc850db09a5861f33de9;p=platform%2Fkernel%2Flinux-amlogic.git packaging: Fix to use build dir path with source name 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 --- diff --git a/packaging/linux-amlogic.spec b/packaging/linux-amlogic.spec index 45bb22bec3aa..2319b2aec7a2 100644 --- a/packaging/linux-amlogic.spec +++ b/packaging/linux-amlogic.spec @@ -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}