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>
Thu, 8 Jun 2023 10:54:31 +0000 (19:54 +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 753f25705c1e7beadef7f28e75ec35d8cdfdf1e9..49e01fe95f4cad430880b4193531ae275d280747 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}