%define rel 1
%define basever 5.4
-%define postver .193
+%define postver .243
# define this to '-%{basever}' for longterm branch
%define versuffix -%{basever}
# Source0-md5: ce9b2d974d27408a61c53a30d3f98fb9
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5: e5119b1c3ffa5ae896175b4a25cefac5
+# Patch0-md5: ac52e3d48c3b198d8c8af81745c2df94
%endif
Source1: kernel.sysconfig
Source58: kernel-inittmpfs.config
+Patch1: gcc13.patch
# http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch
Patch3: kernel-fbcondecor.patch
Patch6: linux-wistron-nx.patch
BuildRequires: openssl-devel
BuildRequires: perl-base
BuildRequires: rpm-build >= 4.5-24
-BuildRequires: rpmbuild(macros) >= 1.743
+BuildRequires: rpmbuild(macros) >= 2.019
%ifarch ppc
BuildRequires: uboot-mkimage
%endif
Requires: %{name}-headers = %{epoch}:%{version}-%{release}
Requires: elfutils-devel
Requires: make
-Conflicts: rpmbuild(macros) < 1.704
+Conflicts: rpmbuild(macros) < 2.019
AutoReqProv: no
%description module-build
%if %{without vanilla}
+%patch1 -p1
+
%if %{with fbcondecor}
%patch3 -p1
%endif