]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- sublevel is 0 for kernels with just version and patchlevel
authorMarcin Krol <hawk@tld-linux.org>
Tue, 30 Apr 2013 10:06:31 +0000 (10:06 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 30 Apr 2013 10:06:31 +0000 (10:06 +0000)
kernel-vanilla.spec

index 77a239b12947aa2f7cdc099738e445b6da6dacdd..87d0d767010cd9621fd703fb75ff28da0c7e29d9 100644 (file)
@@ -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