packaging: Remove variant from Source file name
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 8 Jun 2023 10:51:39 +0000 (19:51 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:04 +0000 (08:25 +0900)
Remove varianet from Source  file name.
During build, it's faield with below log.
(It's same on build system.)

[    9s] error: File /home/abuild/rpmbuild/SOURCES/riscv-visionfive2-linux-kernel-6.1.21.tar.xz: No such file or directory

Change-Id: I635d0e34bb73e02c910cd99c1db1a4af8b893fbc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/linux-qemu.spec
packaging/linux-riscv.spec.in
packaging/linux-visionfive2.spec

index cde1ae4..1b28206 100644 (file)
@@ -17,7 +17,7 @@ ExclusiveArch: riscv64
 Group: System/Kernel
 Vendor: The Linux Community
 URL: https://www.kernel.org
-Source0:   %{variant}-linux-kernel-%{version}.tar.xz
+Source0:   linux-kernel-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
 
 %define fullVersion %{version}-%{target_board}
index f505922..6f6c6ef 100644 (file)
@@ -15,7 +15,7 @@ ExclusiveArch: riscv64
 Group: System/Kernel
 Vendor: The Linux Community
 URL: https://www.kernel.org
-Source0:   %{variant}-linux-kernel-%{version}.tar.xz
+Source0:   linux-kernel-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
 
 %define fullVersion %{version}-%{target_board}
index 350c716..cfaccc6 100644 (file)
@@ -17,7 +17,7 @@ ExclusiveArch: riscv64
 Group: System/Kernel
 Vendor: The Linux Community
 URL: https://www.kernel.org
-Source0:   %{variant}-linux-kernel-%{version}.tar.xz
+Source0:   linux-kernel-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
 
 %define fullVersion %{version}-%{target_board}