[packages/kernel/LINUX_3_4] - linux 3.4 is now longterm

baggins baggins at pld-linux.org
Mon Sep 24 16:29:44 CEST 2012


commit be782483e9c1bfcb528f64e8c3f4a04b5a5e6e15
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 24 16:28:18 2012 +0200

    - linux 3.4 is now longterm

 kernel.spec | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 886418b..078f0a3 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -103,15 +103,24 @@
 %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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/d16bc52c55e61754d4d70595a5c020efcefdced1



More information about the pld-cvs-commit mailing list