From 08c2905b163849d957af304844549dfcfdd10e15 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 30 Apr 2013 10:06:31 +0000 Subject: [PATCH] - sublevel is 0 for kernels with just version and patchlevel --- kernel-vanilla.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 77a239b..87d0d76 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -4,8 +4,8 @@ %bcond_with verbose # verbose build (V=1) %define basever 3.9 -%define postver %{nil} -%define rel 0.1 +%define postver 0 +%define rel 0.2 %define alt_kernel 3.9-vanilla @@ -28,7 +28,7 @@ License: GPL v2 Group: Base/Kernel Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz # Source0-md5: 4348c9b6b2eb3144d601e87c19d5d909 -%if "%{postver}" != "%{nil}" +%if "%{postver}" != "0" Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.bz2 # Source1-md5: 435773d254894e5be7ed79b8060261a9 %endif @@ -356,7 +356,7 @@ ln -s %{SOURCE3} kernel-module-build.pl ln -s %{SOURCE4} Makefile cd linux-%{basever} -%if "%{postver}" != "%{nil}" +%if "%{postver}" != "0" %{__bzip2} -dc %{SOURCE1} | patch -p1 -s %endif -- 2.46.0