%bcond_without aufs # aufs4 support
-%bcond_with vserver # support for VServer
+%bcond_without vserver # support for VServer
%bcond_with rt # real-time kernel (CONFIG_PREEMPT_RT) for low latencies
%define rel 1
%define basever 4.9
-%define postver .38
+%define postver .79
# define this to '-%{basever}' for longterm branch
%define versuffix -%{basever}
# Source0-md5: 0a68ef3615c64bd5ee54a3320e46667d
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
-# Patch0-md5: 07980f156c82f3fdcf4c41c1be4f45f6
+# Patch0-md5: 9985e0b21eee7ff8d364308172c50ead
%endif
Source1: kernel.sysconfig
# http://patches.aircrack-ng.org/hostap-kernel-2.6.18.patch
Patch85: kernel-hostap.patch
-%define vserver_patch 3.18.5-vs2.3.7.3
-# http://vserver.13thfloor.at/Experimental/patch-3.18.5-vs2.3.7.3.diff
+%define vserver_patch 4.9.76-vs2.3.9.6
+# http://vserver.13thfloor.at/Experimental/patch-4.9.78-vs2.3.9.6.diff
# note there are additional patches from above url:
# - *fix* are real fixes (we want these)
# - *feat* are new features/tests (we don't want these)
Patch250: kernel-fix_256colors_menuconfig.patch
# https://rt.wiki.kernel.org/
-# https://www.kernel.org/pub/linux/kernel/projects/rt/4.9/patch-4.9.27-rt18.patch.xz
+# http://www.kernel.org/pub/linux/kernel/projects/rt/4.9/patch-4.9.68-rt60.patch.xz
Patch500: kernel-rt.patch
Patch2000: kernel-small_fixes.patch
BuildRequires: elftoaout
%endif
BuildRequires: elfutils-devel
-BuildRequires: gcc >= 5:3.2
+BuildRequires: gcc >= 6:7.2.0-6
BuildRequires: hostname
BuildRequires: kmod >= 12-2
BuildRequires: openssl-devel
Conflicts: rpm < 4.4.2-0.2
Conflicts: udev < 1:081
Conflicts: util-linux < 2.10o
-Conflicts: util-vserver < 0.30.216
+Conflicts: util-vserver < 0.30.216-1.pre3126.3
Conflicts: xfsprogs < 2.6.0
%if %{without pae}
ExclusiveArch: i686 pentium3 pentium4 athlon