From: Marcin Krol Date: Mon, 6 Feb 2012 16:39:35 +0000 (+0000) Subject: - dropped have_* defines X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=cc869b11a3795aff2e7239bf466b1d9edd82df83;p=packages%2Fkernel.git - dropped have_* defines --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 6ccb99f..c79a756 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -4,11 +4,6 @@ %{?debug:%define with_verbose 1} -%define have_drm 1 -%define have_oss 1 -%define have_sound 1 -%define have_isa 1 - %define _basever 3.2 %define _postver .4 %define _rel 0.1 @@ -621,9 +616,7 @@ fi /lib/modules/%{kernel_release}/kernel/crypto /lib/modules/%{kernel_release}/kernel/drivers -%if %{have_drm} %exclude /lib/modules/%{kernel_release}/kernel/drivers/gpu/drm -%endif /lib/modules/%{kernel_release}/kernel/fs # this directory will be removed after disabling rcutorture mod. in 2.6.20. @@ -636,14 +629,12 @@ fi /lib/modules/%{kernel_release}/kernel/net -%if %{have_sound} %dir /lib/modules/%{kernel_release}/kernel/sound /lib/modules/%{kernel_release}/kernel/sound/ac97_bus.ko* /lib/modules/%{kernel_release}/kernel/sound/sound*.ko* %exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/cx88/cx88-alsa.ko* %exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/em28xx/em28xx-alsa.ko* %exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/saa7134/saa7134-alsa.ko* -%endif %dir /lib/modules/%{kernel_release}/misc @@ -677,11 +668,9 @@ fi %defattr(644,root,root,755) /boot/vmlinux-%{kernel_release} -%if %{have_drm} %files drm %defattr(644,root,root,755) /lib/modules/%{kernel_release}/kernel/drivers/gpu/drm -%endif %files pcmcia %defattr(644,root,root,755) @@ -700,27 +689,21 @@ fi /lib/modules/%{kernel_release}/kernel/drivers/parport/parport_cs.ko* /lib/modules/%{kernel_release}/kernel/drivers/usb/host/sl811_cs.ko* -%if %{have_sound} %files sound-alsa %defattr(644,root,root,755) /lib/modules/%{kernel_release}/kernel/sound %exclude %dir /lib/modules/%{kernel_release}/kernel/sound %exclude /lib/modules/%{kernel_release}/kernel/sound/ac97_bus.ko* %exclude /lib/modules/%{kernel_release}/kernel/sound/sound*.ko* -%if %{have_oss} %exclude /lib/modules/%{kernel_release}/kernel/sound/oss -%endif /lib/modules/%{kernel_release}/kernel/drivers/usb/gadget/g_midi.ko* /lib/modules/%{kernel_release}/kernel/drivers/media/video/cx88/cx88-alsa.ko* /lib/modules/%{kernel_release}/kernel/drivers/media/video/em28xx/em28xx-alsa.ko* /lib/modules/%{kernel_release}/kernel/drivers/media/video/saa7134/saa7134-alsa.ko* -%if %{have_oss} %files sound-oss %defattr(644,root,root,755) /lib/modules/%{kernel_release}/kernel/sound/oss -%endif -%endif %files headers %defattr(644,root,root,755)