From 73f215deb0da2f71b9dfcc850db09a5861f33de9 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 23 Mar 2022 10:51:51 +0900 Subject: [PATCH] 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 --- packaging/linux-amlogic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/linux-amlogic.spec b/packaging/linux-amlogic.spec index 45bb22b..2319b2a 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} -- 2.7.4