[PlanetCCRMA] rebuilding alsa for edge kernel

Hector Centeno h.centeno@sympatico.ca
Tue Jul 26 20:58:02 2005


>
> I would appreciate a lot any help here.
>
> Thank you!
>
> Hector
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
I found something while cheking the alsa-driver.spec file... for some 
reason it seems that it is detecting my system as a 2.4 kernel or a non 
fc3... not sure... because the RPM I get is named alsa-kernel and not 
kernel-module-alsa as it is stated here:

# what kernel we build for
%{?fc4: %define twopointsix 1}
%{?fc3: %define twopointsix 1}
%{?fc2: %define twopointsix 1}
%{?fc1: %define twopointfour 1}
%{?rh9: %define twopointfour 1}

...

# kernel module naming scheme
%{?twopointsix:  %define newnames 1}
%{?twopointfour: %define newnames 0}
# how do we name the kernel modules package?
%if "%{newnames}" == "1"
%define kern_pkg_name kernel-module-alsa-%{kernel_version}
%else
%define kern_pkg_name alsa-kernel%{kernel_suffix}-%{kernel_up_version}
%endif