SPECS (LINUX_2_6_16): kernel.spec - hehe, define alt_kernel only i...

glen glen at pld-linux.org
Fri Feb 15 20:16:31 CET 2008


Author: glen                         Date: Fri Feb 15 19:16:31 2008 GMT
Module: SPECS                         Tag: LINUX_2_6_16
---- Log message:
- hehe, define alt_kernel only if it would be not empty

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1558.2.140 -> 1.441.2.1558.2.141) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1558.2.140 SPECS/kernel.spec:1.441.2.1558.2.141
--- SPECS/kernel.spec:1.441.2.1558.2.140	Fri Feb 15 17:35:21 2008
+++ SPECS/kernel.spec	Fri Feb 15 20:16:25 2008
@@ -126,7 +126,10 @@
 
 %define		xen_version		3.0.2
 
-%define		alt_kernel	%{?with_pax:pax}%{?with_grsec_full:grsecurity}%{?with_xen0:xen0}%{?with_xenU:xenU}
+%define		__alt_kernel	%{?with_pax:pax}%{?with_grsec_full:grsecurity}%{?with_xen0:xen0}%{?with_xenU:xenU}
+%if 0%{?__alt_kernel}
+%define		alt_kernel	%{__alt_kernel}
+%endif
 
 # Our Kernel ABI, increase this when you want the out of source modules being rebuilt
 # Usually same as %{_rel}
@@ -140,7 +143,7 @@
 
 %define		_basever	2.6.16
 %define		_postver	.60
-%define		_rel		7
+%define		_rel		8
 Summary:	The Linux kernel (the core of the Linux operating system)
 Summary(de.UTF-8):	Der Linux-Kernel (Kern des Linux-Betriebssystems)
 Summary(et.UTF-8):	Linuxi kernel (ehk operatsioonisüsteemi tuum)
@@ -1838,6 +1841,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1558.2.141  2008-02-15 19:16:25  glen
+- hehe, define alt_kernel only if it would be not empty
+
 Revision 1.441.2.1558.2.140  2008-02-15 16:35:21  glen
 - unify: add alt kernel (subname) with underscore; rel 7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1558.2.140&r2=1.441.2.1558.2.141&f=u



More information about the pld-cvs-commit mailing list