%endif
%define rel 1
-%define basever 5.10
-%define postver .15
+%define basever 5.11
+%define postver .11
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
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: e42919d9469abc938a9e1efc7a9abb72
+# Patch0-md5: f6ed67b110711d1814521f6b9f200179
%endif
Source1: kernel.sysconfig
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
BuildRequires: perl-base
BuildRequires: rpm-build >= 4.5-24
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
-%{?noarchpackage}
+BuildArch: noarch
%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
-%{?noarchpackage}
+BuildArch: noarch
%description doc
This is the documentation for the Linux kernel, as found in
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'