%define rel 1
%define basever 5.10
-%define postver .13
+%define postver .15
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
# Source0-md5: 753adc474bf799d569dec4f165ed92c3
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5: 4a34221501c7ee90ba275743bc552488
+# Patch0-md5: e42919d9469abc938a9e1efc7a9abb72
%endif
Source1: kernel.sysconfig
# 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.
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
Group: Development/Building
Requires: %{name}-module-build = %{epoch}:%{version}-%{release}
AutoReqProv: no
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description source
This is the source code for the Linux kernel. You can build a custom
Summary(pl.UTF-8): Dokumentacja do jądra Linuksa
Group: Documentation
AutoReqProv: no
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description doc
This is the documentation for the Linux kernel, as found in
%ifarch %{arm} aarch64
%patch8000 -p1
+%patch8001 -p1
+%patch8002 -p1
%endif
%if %{with rt}