X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=kernel-vanilla.spec;h=1580272b4ab6ad618d209682c4fc9d60955b7770;hb=bba91d939bba1018d0774a1171fdbab4419cb8de;hp=5a8b99351f8815d3e03c19f324d02c12bcea3216;hpb=df2fe4401317063b691c049e75eb1ae3f5c0bde3;p=packages%2Fkernel.git diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 5a8b993..1580272 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -4,7 +4,7 @@ %bcond_with verbose # verbose build (V=1) %define basever 4.14 -%define postver 67 +%define postver 172 %define rel 1 %define alt_kernel 4.14-vanilla @@ -30,7 +30,7 @@ Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz # Source0-md5: bacdb9ffdcd922aa069a5e1520160e24 %if "%{postver}" != "0" Source1: http://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz -# Source1-md5: db557e7181b526fced00b3dc50ed44fa +# Source1-md5: 4ae0221e47d6329233c38875ec0b090a %endif Source2: kernel-module-build.pl @@ -39,17 +39,19 @@ Source3: kernel.make 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 @@ -342,8 +344,6 @@ cd linux-%{basever} %{__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