packaging: Setup with source0 name
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Jun 2023 01:54:18 +0000 (10:54 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:14 +0000 (08:25 +0900)
In packaging spec, source0 name is different from package name,
so setup also needs to be with source0 name explictly. Do setup
with source0 name.

Change-Id: I3400c7aa131ec2561745386f903de2e47fd9aab7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/linux-qemu.spec
packaging/linux-riscv.spec.in
packaging/linux-visionfive2.spec

index 1b28206..85ddf9a 100644 (file)
@@ -88,7 +88,7 @@ This package provides the "perf" tool that can be used to monitor performance
 counter events as well as various kernel internal events.
 
 %prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
 
 %build
 %{?asan:/usr/bin/gcc-unforce-options}
index 6f6c6ef..c558e47 100644 (file)
@@ -86,7 +86,7 @@ This package provides the "perf" tool that can be used to monitor performance
 counter events as well as various kernel internal events.
 
 %prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
 
 %build
 %{?asan:/usr/bin/gcc-unforce-options}
index cfaccc6..fde06b1 100644 (file)
@@ -88,7 +88,7 @@ This package provides the "perf" tool that can be used to monitor performance
 counter events as well as various kernel internal events.
 
 %prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
 
 %build
 %{?asan:/usr/bin/gcc-unforce-options}