SPECS (LINUX_2_6): kernel.spec - added pld_vers bcond, I can't use...

baggins baggins at pld-linux.org
Wed Sep 28 02:36:06 CEST 2005


Author: baggins                      Date: Wed Sep 28 00:36:06 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- added pld_vers bcond, I can't use distrib tarballs
  and I'm tired of disabling this patch every time

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1220 -> 1.441.2.1221) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1220 SPECS/kernel.spec:1.441.2.1221
--- SPECS/kernel.spec:1.441.2.1220	Wed Sep 28 00:16:51 2005
+++ SPECS/kernel.spec	Wed Sep 28 02:36:01 2005
@@ -35,6 +35,7 @@
 %bcond_without	source		# don't build kernel-source package
 %bcond_without	pcmcia		# don't build pcmcia
 %bcond_without	grsecurity	# disable grsecurity
+%bcond_without	pld_vers	# disable pld-specific UTS_NAME changes
 %bcond_with	grsec_basic	# enable basic grsecurity functionality (proc,link,fifo)
 				# bcond only valid "without  grsecurity"
 %bcond_with	pax		# enable PaX (depends on grsecurity)
@@ -669,7 +670,7 @@
 %setup -q -n linux-%{version}%{_rc}
 
 %patch0 -p1
-%patch1 -p0
+%{?with_pld_vers:%patch1 -p0}
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
@@ -1577,6 +1578,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1221  2005/09/28 00:36:01  baggins
+- added pld_vers bcond, I can't use distrib tarballs
+  and I'm tired of disabling this patch every time
+
 Revision 1.441.2.1220  2005/09/27 22:16:51  mguevara
 - CONFIG_GRKERNSEC_HIDESYM=y from kernel-grsec+pax.config
   is not compatible with CONFIG_KALLSYMS* - disable them
================================================================

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




More information about the pld-cvs-commit mailing list