SPECS: lirc.spec - make modpost errors non-fatal - added vserver b...

hawk hawk at pld-linux.org
Thu Jan 24 19:14:33 CET 2008


Author: hawk                         Date: Thu Jan 24 18:14:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make modpost errors non-fatal
- added vserver bcond, allows to build modules for non-vserver kernels
- release 2

---- Files affected:
SPECS:
   lirc.spec (1.149 -> 1.150) 

---- Diffs:

================================================================
Index: SPECS/lirc.spec
diff -u SPECS/lirc.spec:1.149 SPECS/lirc.spec:1.150
--- SPECS/lirc.spec:1.149	Wed Jan 23 18:56:32 2008
+++ SPECS/lirc.spec	Thu Jan 24 19:14:27 2008
@@ -8,6 +8,7 @@
 # Conditional build:
 %bcond_without	dist_kernel	# without sources of distribution kernel
 %bcond_without	kernel		# don't build kernel modules, only library+programs
+%bcond_without	vserver		# without vserver specific patch
 %bcond_without	userspace	# build only packages with kernel modules
 %bcond_without	svga		# without svgalib-based utility
 %bcond_without	x		# without X11-based utilitied
@@ -21,7 +22,7 @@
 %endif
 
 %define		pname	lirc
-%define		rel	1
+%define		rel	2
 
 #
 # main package
@@ -586,7 +587,9 @@
 %endif
 %patch6 -p1
 %patch7 -p1
+%if %{with vserver}
 %patch8 -p1
+%endif
 %patch9 -p1
 
 %build
@@ -651,6 +654,7 @@
 
 		%{__make} \
 			M=$PWD O=$PWD/o \
+			KBUILD_MODPOST_WARN=1 \
 			%{?with_verbose:V=1}
 			mv $drv{,-dist}.ko
 	fi
@@ -1005,6 +1009,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.150  2008-01-24 18:14:27  hawk
+- make modpost errors non-fatal
+- added vserver bcond, allows to build modules for non-vserver kernels
+- release 2
+
 Revision 1.149  2008-01-23 17:56:32  hawk
 - suffix src package with alt kernel name (if present)
 - disable userspace for alt_kernels
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lirc.spec?r1=1.149&r2=1.150&f=u



More information about the pld-cvs-commit mailing list