From 3b35f66fa6bfaf3db3be224c8a17748510f5c959 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 8 Jun 2023 19:51:39 +0900 Subject: [PATCH] packaging: Remove variant from Source file name 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 --- packaging/linux-qemu.spec | 2 +- packaging/linux-riscv.spec.in | 2 +- packaging/linux-visionfive2.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/linux-qemu.spec b/packaging/linux-qemu.spec index cde1ae4..1b28206 100644 --- a/packaging/linux-qemu.spec +++ b/packaging/linux-qemu.spec @@ -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} diff --git a/packaging/linux-riscv.spec.in b/packaging/linux-riscv.spec.in index f505922..6f6c6ef 100644 --- a/packaging/linux-riscv.spec.in +++ b/packaging/linux-riscv.spec.in @@ -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} diff --git a/packaging/linux-visionfive2.spec b/packaging/linux-visionfive2.spec index 350c716..cfaccc6 100644 --- a/packaging/linux-visionfive2.spec +++ b/packaging/linux-visionfive2.spec @@ -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} -- 2.7.4