]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel.spec
BRs for tar.xz source
[packages/kernel.git] / kernel.spec
index 5b705a79ba9ff8441435f91a4d4beb84a2fd0463..cfbf711e3f63c20c72f3df9e7b1428ce4bebd911 100644 (file)
@@ -73,7 +73,7 @@
 
 %define                rel             1
 %define                basever         5.10
-%define                postver         .13
+%define                postver         .15
 
 # define this to '-%{basever}' for longterm branch
 %define                versuffix       %{nil}
@@ -127,7 +127,7 @@ Source0:    https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
 # 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
 
@@ -227,6 +227,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 +255,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 +584,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
+%{?noarchpackage}
 
 %description source
 This is the source code for the Linux kernel. You can build a custom
@@ -614,9 +615,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
+%{?noarchpackage}
 
 %description doc
 This is the documentation for the Linux kernel, as found in
@@ -697,6 +696,8 @@ cd linux-%{basever}
 
 %ifarch %{arm} aarch64
 %patch8000 -p1
+%patch8001 -p1
+%patch8002 -p1
 %endif
 
 %if %{with rt}
This page took 0.035455 seconds and 4 git commands to generate.