SPECS: kernel-desktop.spec - added with test_build bcond, for test...

sparky sparky at pld-linux.org
Mon Jun 19 13:19:22 CEST 2006


Author: sparky                       Date: Mon Jun 19 11:19:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added with test_build bcond, for testing kernel without preemptrt 

---- Files affected:
SPECS:
   kernel-desktop.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/kernel-desktop.spec
diff -u SPECS/kernel-desktop.spec:1.19 SPECS/kernel-desktop.spec:1.20
--- SPECS/kernel-desktop.spec:1.19	Sun Jun 18 15:45:22 2006
+++ SPECS/kernel-desktop.spec	Mon Jun 19 13:19:16 2006
@@ -10,9 +10,16 @@
 %bcond_without	suspend2	# don't build software suspend support
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_without	grsec_minimal	# don't build grsecurity (minimal subset: proc,link,fifo,shm)
+%bcond_with	test_build	# don't patch with preemptrt nor any patch depending no it
 
 %{?debug:%define with_verbose 1}
 
+%if %{with test_build}
+%undefine	with_preemptrt
+%undefine	with_suspend2
+%undefine	with_grsec_minimal
+%endif
+
 %ifarch ppc
 %undefine	with_suspend2
 %endif
@@ -630,7 +637,7 @@
 %prep
 %setup -q -n linux-%{version}%{_rc} 
 
-%patch0	-p1
+%{!?with_test_build:%patch0 -p1}
 
 %if %{with suspend2}
 %patch1 -p1
@@ -640,7 +647,7 @@
 
 %patch3 -p1
 
-%patch4 -p1
+%{!?with_test_build:%patch4 -p1}
 
 #%%ifarch %{ix86}
 # broken on amd64 ?
@@ -695,11 +702,13 @@
 
 #%%patch60 -p1
 
+%if !%{with test_build}
 %patch300 -p1
 
 %if %{with grsec_minimal}
 %patch1000 -p1
 %endif
+%endif
 
 # Fix EXTRAVERSION in main Makefile
 sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{_postver}_%{_alt_kernel}#g' Makefile
@@ -1370,6 +1379,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/06/19 11:19:16  sparky
+- added with test_build bcond, for testing kernel without preemptrt
+
 Revision 1.19  2006/06/18 13:45:22  sparky
 - up to final 2.6.17
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-desktop.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list