]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel.spec
- up to 5.11.8
[packages/kernel.git] / kernel.spec
index 716584319a201dbc4800ff890159655274b4d938..5398960fc0b7ab55e95def138b38fadd9d276f63 100644 (file)
@@ -72,8 +72,8 @@
 %endif
 
 %define                rel             1
-%define                basever         5.10
-%define                postver         .5
+%define                basever         5.11
+%define                postver         .8
 
 # define this to '-%{basever}' for longterm branch
 %define                versuffix       %{nil}
@@ -124,10 +124,10 @@ Epoch:            3
 License:       GPL v2
 Group:         Base/Kernel
 Source0:       https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
-# Source0-md5: 753adc474bf799d569dec4f165ed92c3
+# Source0-md5: d2985a3f16ef1ea3405c04c406e29dcc
 %if "%{postver}" != ".0"
 Patch0:                https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5:  b777628725d554440fba32da5c95ba12
+# Patch0-md5:  b7a8f78992a38c966a8ea00ad8cbd451
 %endif
 Source1:       kernel.sysconfig
 
@@ -197,16 +197,7 @@ Patch85:   kernel-hostap.patch
 Patch100:      kernel-vserver-2.3.patch
 Patch101:      kernel-vserver-fixes.patch
 
-# git://github.com/sfjro/aufs5-standalone.git, read README
-# Patch creation:
-# git clone git://github.com/sfjro/aufs5-standalone.git
-# cd aufs5-standalone
-# git checkout -b aufs5.8 origin/aufs5.8
-# cat aufs5-kbuild.patch aufs5-base.patch aufs5-mmap.patch aufs5-standalone.patch > ~/rpm/packages/kernel/kernel-aufs5.patch
-# rm -rf linux && mkdir linux; cp -a Documentation fs include linux
-# diff -urN /usr/share/empty linux | filterdiff -x linux/include/uapi/linux/Kbuild >> ~/rpm/packages/kernel/kernel-aufs5.patch
-# cat aufs5-loopback.patch >> ~/rpm/packages/kernel/kernel-aufs5.patch
-#
+# see update-source.sh
 Patch145:      kernel-aufs5.patch
 Patch146:      kernel-aufs+vserver.patch
 
@@ -227,6 +218,8 @@ Patch7000:  kernel-inittmpfs.patch
 
 # ARM only
 Patch8000:     rpi-wm8804.patch
+Patch8001:     kernel-pinebook-pro.patch
+Patch8002:     kernel-rk3399-afbc-ytr.patch
 
 # Do not remove this line, please. It is easier for me to uncomment two lines, then patch
 # kernel.spec every time.
@@ -253,7 +246,8 @@ BuildRequires:      openssl-devel
 BuildRequires: openssl-tools
 BuildRequires: perl-base
 BuildRequires: rpm-build >= 4.5-24
-BuildRequires: rpmbuild(macros) >= 1.743
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: tar >= 1:1.22
 %ifarch ppc
 BuildRequires: uboot-mkimage
 %endif
@@ -581,9 +575,7 @@ Summary(pl.UTF-8):  Kod źródłowy jądra Linuksa
 Group:         Development/Building
 Requires:      %{name}-module-build = %{epoch}:%{version}-%{release}
 AutoReqProv:   no
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description source
 This is the source code for the Linux kernel. You can build a custom
@@ -614,9 +606,7 @@ Summary(de.UTF-8):  Kernel Dokumentation
 Summary(pl.UTF-8):     Dokumentacja do jądra Linuksa
 Group:         Documentation
 AutoReqProv:   no
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description doc
 This is the documentation for the Linux kernel, as found in
@@ -697,6 +687,8 @@ cd linux-%{basever}
 
 %ifarch %{arm} aarch64
 %patch8000 -p1
+%patch8001 -p1
+%patch8002 -p1
 %endif
 
 %if %{with rt}
@@ -751,8 +743,12 @@ find -name '*.pl' -print0 | \
        scripts/documentation-file-ref-check \
        scripts/get_dvb_firmware \
        scripts/kernel-doc \
+       scripts/sphinx-pre-install \
        scripts/stackdelta
 
+%{__sed} -i -e '1s,/usr/bin/env bash,%{__bash},' \
+       scripts/config
+
 %build
 install -d %{objdir}
 cat > %{targetobj}.mk <<'EOF'
This page took 0.074267 seconds and 4 git commands to generate.