]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel.spec
- up to 5.11.11
[packages/kernel.git] / kernel.spec
index 6782a3fedd76c463c92ab611569063b42ef1e6c0..f834efc6823348fa6c27c03982b6286c7f86c6fc 100644 (file)
@@ -72,8 +72,8 @@
 %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}
@@ -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:  e42919d9469abc938a9e1efc7a9abb72
+# Patch0-md5:  f6ed67b110711d1814521f6b9f200179
 %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
 
@@ -256,6 +247,7 @@ BuildRequires:      openssl-tools
 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
@@ -583,7 +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
-%{?noarchpackage}
+BuildArch:     noarch
 
 %description source
 This is the source code for the Linux kernel. You can build a custom
@@ -614,7 +606,7 @@ Summary(de.UTF-8):  Kernel Dokumentation
 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
@@ -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.692035 seconds and 4 git commands to generate.