SPECS: mISDN.spec - rel 12; kernel bconf off by default (mISDN merged in 2....

arekm arekm at pld-linux.org
Tue Nov 4 08:59:23 CET 2008


Author: arekm                        Date: Tue Nov  4 07:59:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 12; kernel bconf off by default (mISDN merged in 2.6.27)

---- Files affected:
SPECS:
   mISDN.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/mISDN.spec
diff -u SPECS/mISDN.spec:1.55 SPECS/mISDN.spec:1.56
--- SPECS/mISDN.spec:1.55	Tue Nov  4 08:41:50 2008
+++ SPECS/mISDN.spec	Tue Nov  4 08:59:18 2008
@@ -1,17 +1,20 @@
 # $Revision$, $Date$
 #
 # TODO:
-#		- remove from cvs when 2.6.27 at kernel.spec will be ready.
-#		http://lwn.net/Articles/291630/
-#
+# - shouldn't headers be provided by 2.6.27 linux-libc-headers instead of -devel here?
 #
 # Conditional build:
+%bcond_with	kernel
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_with	verbose		# verbose build (V=1)
 #
+%if %{without kernel}
+%undefine       with_dist_kernel
+%endif
+#
 %define		mISDN_version		%(echo %{version} |tr . _)
 
-%define		rel	11
+%define		rel	12
 Summary:	mISDN - modular ISDN
 Summary(pl.UTF-8):	mISDN - modularny ISDN
 Name:		mISDN
@@ -87,6 +90,8 @@
 %setup -q -n %{name}-%{mISDN_version}
 
 %build
+
+%if %{with kernel}
 cp -r include/linux drivers/isdn/hardware/mISDN/
 
 sed s/CONFIG_MISDN_MEMDEBUG=y//g add.config > drivers/isdn/hardware/mISDN/Makefile
@@ -107,6 +112,8 @@
 %build_kernel_modules -m hfcmulti -C drivers/isdn/hardware/mISDN/
 %endif
 
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -119,11 +126,13 @@
 install -d $RPM_BUILD_ROOT%{_includedir}/linux
 install include/linux/*.h $RPM_BUILD_ROOT%{_includedir}/linux
 
+%if %{with kernel}
 # kernel modules
 cd drivers/isdn/hardware/mISDN
 sep="%{?with_dist_kernel:dist}%{!?with_dist_kernel:nondist}"
 mods=$(echo *-${sep}.ko | sed -e "s#-${sep}.ko##g" -e 's# #,#g')
 %install_kernel_modules -m $mods -d kernel/drivers/isdn/hardware/mISDN
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -150,10 +159,12 @@
 %attr(754,root,root) /etc/rc.d/init.d/*
 %attr(755,root,root) %{_bindir}/*
 
+%if %{with kernel}
 %files -n kernel%{_alt_kernel}-isdn-mISDN
 %defattr(644,root,root,755)
 %dir /lib/modules/%{_kernel_ver}/kernel/drivers/isdn/hardware/mISDN
 /lib/modules/%{_kernel_ver}/kernel/drivers/isdn/hardware/mISDN/*.ko*
+%endif
 
 %files devel
 %defattr(644,root,root,755)
@@ -165,6 +176,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2008/11/04 07:59:18  arekm
+- rel 12; kernel bconf off by default (mISDN merged in 2.6.27)
+
 Revision 1.55  2008/11/04 07:41:50  arekm
 - release 11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mISDN.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list