%bcond_with verbose # verbose build (V=1)
%define basever 4.14
-%define postver 65
+%define postver 175
%define rel 1
%define alt_kernel 4.14-vanilla
# Source0-md5: bacdb9ffdcd922aa069a5e1520160e24
%if "%{postver}" != "0"
Source1: http://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
-# Source1-md5: 291aae6226dc26d75835d1c1d66e97a3
+# Source1-md5: 18f4a648b7c49ac2c305b17be854b313
%endif
Source2: kernel-module-build.pl
Source10: kernel-vanilla-x86.config
Source11: kernel-vanilla-x86_64.config
-Patch0: gcc8.patch
-
URL: http://www.kernel.org/
BuildRequires: binutils >= 3:2.18
+BuildRequires: bison
BuildRequires: /sbin/depmod
+BuildRequires: elfutils-devel
+BuildRequires: flex
BuildRequires: gcc >= 5:3.2
BuildRequires: gcc-plugin-devel
BuildRequires: xz >= 1:4.999.7
AutoReqProv: no
BuildRequires: hostname
BuildRequires: kmod
+BuildRequires: openssl-devel
BuildRequires: perl-base
BuildRequires: rpm >= 4.5-74
BuildRequires: rpmbuild(macros) >= 1.652
%{__xz} -dc %{SOURCE1} | patch -p1 -s
%endif
-%patch0 -p1
-
# Fix EXTRAVERSION in main Makefile
sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{?alt_kernel:-%{alt_kernel}}#g' Makefile