From c20d98f922f91c2af7727c8f89c2b4b8215c65ef Mon Sep 17 00:00:00 2001 From: Dmitrii Tochanskii Date: Tue, 2 Dec 2025 15:41:08 +0000 Subject: [PATCH] linux 6.12.60 --- kernel.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 kernel.spec diff --git a/kernel.spec b/kernel.spec new file mode 100644 index 0000000..43e961e --- /dev/null +++ b/kernel.spec @@ -0,0 +1,41 @@ +Name: kernel +Version: 6.12.60 +Release: 1%{?dist} +Summary: Linux kernel as is + +License: GPL +URL: https://www.kernel.org +Source0: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%{version}.tar.xz + +BuildRequires: gcc make flex bc bison elfutils-libelf-devel openssl-devel perl +Requires: bash + +%description + + +%prep +%setup -q -n linux-%{version} + + +%build +make defconfig +make all %{?_smp_mflags} + + +%install +make modules_install INSTALL_MOD_PATH=%{buildroot} +rm %{buildroot}/lib/modules/%{version}/build +mkdir -p %{buildroot}/boot/ +install -m 644 arch/x86/boot/bzImage %{buildroot}/boot/vmlinuz-%{version} +install -m 644 System.map %{buildroot}/boot/System.map-%{version} +install -m 644 .config %{buildroot}/boot/config-%{version} + +%files +/boot/ +/lib/ + + +%changelog +* Tue Dec 02 2025 Dmitrii Tochanskii +- +