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 cde1ae45584f4010c8b146c39225c0e0ce77f48a..1b28206c601d85836ae5d2be60aaae1e73379a1c 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 f5059224d4aa72c08d0f9bbcb380706de4ee2729..6f6c6ef93beb349f2c574d98fb05209d135ec046 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 350c716b60583ed43574ad2a6c1fb1bc4b118417..cfaccc6f9b14013fc6d9279e147266a7b4fe25af 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}