X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=kernel-vanilla.spec;h=54c3f95261334ee2a885c2d590aeb6b6f4ecdc01;hb=064a0fddf4ef0d7205fcad81cbf82914e273a101;hp=a5ce1bb0cd3280f26d05fad5292d5cbf1e37b996;hpb=83aa340175417a8781fc59d617c680c98007f674;p=packages%2Fkernel.git diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index a5ce1bb..54c3f95 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -1,13 +1,14 @@ +# # Conditional build: %bcond_without source # don't build kernel-source package %bcond_without doc # don't build kernel-doc package %bcond_with verbose # verbose build (V=1) -%define basever 3.11 -%define postver 7 -%define rel 1 +%define basever 3.14 +%define postver 0 +%define rel 0.1 -%define alt_kernel 3.11-vanilla +%define alt_kernel 3.14-vanilla # kernel release (used in filesystem and eventually in uname -r) # modules will be looked from /lib/modules/%{kernel_release} @@ -27,10 +28,10 @@ Epoch: 3 License: GPL v2 Group: Base/Kernel Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz -# Source0-md5: fea363551ff45fbe4cb88497b863b261 +# Source0-md5: b621207b3f6ecbb67db18b13258f8ea8 %if "%{postver}" != "0" -Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.bz2 -# Source1-md5: 68472945252ce00a86cf65638786c7b9 +Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz +# Source1-md5: d1b35dfc218d54e6a443bb5fe22d5a7b %endif Source2: kernel.sysconfig @@ -49,7 +50,7 @@ AutoReqProv: no 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 @@ -357,7 +358,7 @@ ln -s %{SOURCE4} Makefile cd linux-%{basever} %if "%{postver}" != "0" -%{__bzip2} -dc %{SOURCE1} | patch -p1 -s +%{__xz} -dc %{SOURCE1} | patch -p1 -s %endif # Fix EXTRAVERSION in main Makefile @@ -538,7 +539,7 @@ fi # update boot loaders if [ -x /sbin/update-grub -a -f /etc/sysconfig/grub ]; then - if [ "$(. /etc/sysconfig/grub; echo ${UPDATE_GRUB:-no})" = "yes" ]; then + if [ "$(. /etc/sysconfig/grub; echo ${UPDATE_GRUB:-yes})" = "yes" ]; then /sbin/update-grub >/dev/null fi fi