SPECS: kernel-vanilla.spec - sparc64 smp %files fixes

shadzik shadzik at pld-linux.org
Sat Dec 2 18:39:55 CET 2006


Author: shadzik                      Date: Sat Dec  2 17:39:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sparc64 smp %files fixes

---- Files affected:
SPECS:
   kernel-vanilla.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.10 SPECS/kernel-vanilla.spec:1.11
--- SPECS/kernel-vanilla.spec:1.10	Sat Dec  2 18:31:00 2006
+++ SPECS/kernel-vanilla.spec	Sat Dec  2 18:39:50 2006
@@ -1051,7 +1051,11 @@
 %files smp
 %defattr(644,root,root,755)
 #doc FAQ-pl
+%ifarch sparc64
+/boot/vmlinux-%{ver_rel}smp
+%else
 /boot/vmlinuz-%{ver_rel}smp
+%endif
 /boot/System.map-%{ver_rel}smp
 %ghost /boot/initrd-%{ver_rel}smp.gz
 %dir /lib/modules/%{ver_rel}smp
@@ -1072,6 +1076,7 @@
 /lib/modules/%{ver_rel}smp/kernel/sound/soundcore.*
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/media/video/*/*-alsa.ko*
 %dir /lib/modules/%{ver_rel}smp/misc
+%if %{have_pcmcia}
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/pcmcia
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/*/pcmcia
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/bluetooth/*_cs.ko*
@@ -1083,6 +1088,7 @@
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/serial/serial_cs.ko*
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/telephony/ixj_pcmcia.ko*
 %exclude /lib/modules/%{ver_rel}smp/kernel/drivers/usb/host/sl811_cs.ko*
+%endif
 /lib/modules/%{ver_rel}smp/build
 %ghost /lib/modules/%{ver_rel}smp/modules.*
 %dir %{_sysconfdir}/modprobe.d/%{ver_rel}smp
@@ -1095,6 +1101,7 @@
 %defattr(644,root,root,755)
 /lib/modules/%{ver_rel}smp/kernel/drivers/char/drm
 
+%if %{have_pcmcia}
 %files smp-pcmcia
 %defattr(644,root,root,755)
 /lib/modules/%{ver_rel}smp/kernel/drivers/pcmcia
@@ -1109,6 +1116,7 @@
 /lib/modules/%{ver_rel}smp/kernel/drivers/telephony/ixj_pcmcia.ko*
 /lib/modules/%{ver_rel}smp/kernel/drivers/usb/host/sl811_cs.ko*
 /lib/modules/%{ver_rel}smp/kernel/sound/pcmcia
+%endif
 
 %files smp-sound-alsa
 %defattr(644,root,root,755)
@@ -1117,7 +1125,9 @@
 %exclude %dir /lib/modules/%{ver_rel}smp/kernel/sound
 %exclude /lib/modules/%{ver_rel}smp/kernel/sound/soundcore.*
 %exclude /lib/modules/%{ver_rel}smp/kernel/sound/oss
+%if %{have_pcmcia}
 %exclude /lib/modules/%{ver_rel}smp/kernel/sound/pcmcia
+%endif
 
 %files smp-sound-oss
 %defattr(644,root,root,755)
@@ -1203,6 +1213,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/12/02 17:39:50  shadzik
+- sparc64 smp %files fixes
+
 Revision 1.10  2006/12/02 17:31:00  shadzik
 - sparc64 support (hope I didn't break other archs)
 
================================================================

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



More information about the pld-cvs-commit mailing list