SPECS: ians.spec - fix smp module

marcus marcus at pld-linux.org
Sat Feb 11 17:37:09 CET 2006


Author: marcus                       Date: Sat Feb 11 16:37:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix smp module

---- Files affected:
SPECS:
   ians.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/ians.spec
diff -u SPECS/ians.spec:1.59 SPECS/ians.spec:1.60
--- SPECS/ians.spec:1.59	Thu Feb  9 21:40:22 2006
+++ SPECS/ians.spec	Sat Feb 11 17:37:03 2006
@@ -21,6 +21,7 @@
 %{?without_dist_kernel:Requires:	kernel(ians) = %{version}}
 ExclusiveArch:	%{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Conflicts:	kernel > 2.6.0
 
 %define		_sysconfdir	/etc/ians
 
@@ -83,7 +84,7 @@
 %build
 cd src
 %{__make} \
-	CC="%{kgcc} -DCONFIG_X86_LOCAL_APIC" \
+	CC="%{kgcc} -DCONFIG_X86_LOCAL_APIC -D__KERNEL_SMP=1 -D__SMP__" \
 	SMP=1 \
 	KSRC=%{_kernelsrcdir}
 
@@ -116,16 +117,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-n kernel-net-ians
+%post	-n kernel24-net-ians
 %depmod %{_kernel_ver}
 
-%postun	-n kernel-net-ians
+%postun	-n kernel24-net-ians
 %depmod %{_kernel_ver}
 
-%post	-n kernel-smp-net-ians
+%post	-n kernel24-smp-net-ians
 %depmod %{_kernel_ver}smp
 
-%postun	-n kernel-smp-net-ians
+%postun	-n kernel24-smp-net-ians
 %depmod %{_kernel_ver}smp
 
 %files
@@ -135,11 +136,11 @@
 %dir %attr(755,root,root) %{_sysconfdir}
 %doc README LICENSE
 
-%files -n kernel-net-ians
+%files -n kernel24-net-ians
 %defattr(644,root,root,755)
 %attr(644,root,root) /lib/modules/%{_kernel_ver}/misc/*
 
-%files -n kernel-smp-net-ians
+%files -n kernel24-smp-net-ians
 %defattr(644,root,root,755)
 %attr(644,root,root) /lib/modules/%{_kernel_ver}smp/misc/*
 
@@ -149,6 +150,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2006/02/11 16:37:03  marcus
+- fix smp module
+
 Revision 1.59  2006/02/09 20:40:22  glen
 - there may be no dep on kernel package/version (in PLD)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ians.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list