%bcond_with verbose # verbose build (V=1)
%define basever 3.12
-%define postver 6
+%define postver 13
%define rel 1
%define alt_kernel 3.12-vanilla
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz
# Source0-md5: cc6ee608854e0da4b64f6c1ff8b6398c
%if "%{postver}" != "0"
-Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.bz2
-# Source1-md5: 07be8721b6e11cb2496c812f2d06c7e7
+Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz
+# Source1-md5: f387b5cc6663c5ba35ea116defec02be
%endif
Source2: kernel.sysconfig
BuildRequires: hostname
BuildRequires: kmod
BuildRequires: perl-base
-BuildRequires: rpm-build >= 4.5-24
+BuildRequires: rpm >= 4.5-74
BuildRequires: rpmbuild(macros) >= 1.652
Requires(post): coreutils
Requires(post): geninitrd >= 12639-1
cd linux-%{basever}
%if "%{postver}" != "0"
-%{__bzip2} -dc %{SOURCE1} | patch -p1 -s
+%{__xz} -dc %{SOURCE1} | patch -p1 -s
%endif
# Fix EXTRAVERSION in main Makefile