packaging: Setup with source0 name
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Jun 2023 01:54:18 +0000 (10:54 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Jun 2023 01:54:20 +0000 (10:54 +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 1b28206c601d85836ae5d2be60aaae1e73379a1c..85ddf9a6f7c36201a5149d1bb5c3a1e60b352a6c 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 6f6c6ef93beb349f2c574d98fb05209d135ec046..c558e479e465895c5084e30696e03432c051c8ac 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 49e01fe95f4cad430880b4193531ae275d280747..104c5ea0628caa08f0a4263913bb222943e9b88d 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}