]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- linux 3.4 is now longterm
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 24 Sep 2012 14:28:18 +0000 (16:28 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 24 Sep 2012 14:28:18 +0000 (16:28 +0200)
kernel.spec

index 886418b88c6b96632c8076d2afc0a0f2208b8ca4..078f0a35fe171e525842566b01ffc49e5c0a9526 100644 (file)
 %endif
 
 # these override whatever name was picked from bconds
-%if %{with myown} && "%{_alt_kernel}" == ""
+%if %{with myown}
+%if "%{_alt_kernel}" == ""
 %define                alt_kernel      myown
 %endif
-%if %{with rescuecd}
-%define                alt_kernel      rescuecd
-%endif
+%else # not myown:
 %if %{with vanilla}
 %define                alt_kernel      vanilla
+%else # not vanilla:
+%if %{with rescuecd}
+%define                alt_kernel      rescuecd
+%else # not rescuecd:
+%define                __alt_kernel    longterm
+%if "%{__alt_kernel}" != ""
+%define                alt_kernel      %{__alt_kernel}
 %endif
+%endif # not rescuecd
+%endif # not vanilla
+%endif # not myown
 
 # kernel release (used in filesystem and eventually in uname -r)
 # modules will be looked from /lib/modules/%{kernel_release}
This page took 0.059514 seconds and 4 git commands to generate.