-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux.spec
41 lines (31 loc) · 1 KB
/
linux.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name: linux
Version: 6.12.1
Release: 1
Summary: The Linux kernel
License: GPL-2.0 WITH Linux-syscall-note
URL: https://kernel.org/
Source0: https://cdn.kernel.org/pub/linux/kernel/v6.x/%{name}-%{version}.tar.xz
Source1: linux.config
BuildRequires: gcc make flex bison elfutils-devel
BuildRequires: openssl openssl-devel openssl-devel-engine
%description
Linux is a clone of the operating system Unix, written from scratch by Linus Torvalds
with assistance from a loosely-knit team of hackers across the Net.
It aims towards POSIX and Single UNIX Specification compliance.
%prep
%autosetup
cp %{SOURCE1} %{_builddir}/%{name}-%{version}/.config
%build
make oldconfig
make -j${RPM_BUILD_NCPUS}
%install
# sudo make INSTALL_MOD_STRIP=1 modules_install
# sudo make install
%files
%changelog
* Sat Nov 30 2024 Liu Zixian <[email protected]> 6.12.1-1
- update to 6.12.1
* Mon Nov 18 2024 Liu Zixian <[email protected]> 6.11.8-2
- Remove BuildRequires dwarves
* Mon Nov 18 2024 Liu Zixian <[email protected]> 6.11.8-1
- init