diff --git a/SPECS/linux-zen.spec b/SPECS/linux-zen.spec index e3c5362..cb137f8 100644 --- a/SPECS/linux-zen.spec +++ b/SPECS/linux-zen.spec @@ -1,4 +1,5 @@ %global debug_package %{nil} +%global zen zen1 Name: linux-zen Version: 6.7.2 Release: 1%{?dist} @@ -6,7 +7,7 @@ Summary: Linux kernel and modules with Zen patches License: GPL-2.0-only URL: http://www.zen-kernel.org/ -Source0: v%{version}-zen1.tar.gz +Source0: v%{version}-%{zen}.tar.gz Patch0: 0000-NTPatch.patch Patch1: 0001-NTPatch.patch Patch2: 0002-NTPatch.patch @@ -23,7 +24,7 @@ BuildRequires: gcc, make, flex, bison, ncurses-devel, elfutils-libelf-devel, op Linux kernel and modules with Zen patches (%{version} series) compiled with Clang. %prep -%setup -q -n zen-kernel-%{version}-zen1 +%setup -q -n zen-kernel-%{version}-%{zen} cp %{_sourcedir}/.config .config %patch0 -p1 @@ -78,13 +79,13 @@ VMLINUX_PATH=%{buildroot}/boot mkdir -p $VMLINUX_PATH # Navigate to the directory where vmlinux is located -cd %{_builddir}/zen-kernel-%{version}-zen1 +cd %{_builddir}/zen-kernel-%{version}-%{zen} # Compress vmlinux and move it to the vmlinuz path -gzip -c vmlinux > $VMLINUX_PATH/vmlinuz-%{version}-zen1 +gzip -c vmlinux > $VMLINUX_PATH/vmlinuz-%{version}-%{zen} %files -/boot/vmlinuz-%{version}-zen1 +/boot/vmlinuz-%{version}-%{zen} /lib/modules/* %changelog