The following section (or much like it) is missing out of the %install
section of the hackkernel.spec file.  The result is that the ALSA kernel
headers and documentation does not get included with the hackkernel pac-
kage.

%ifarch %{ix86}
#Install Alsa documentation
rm -rf alsa-doc/
mkdir -p alsa-doc/
for i in COPYING INSTALL FAQ README doc/SOUNDCARDS WARNING;do
    install -m644 alsa-driver-%{alsaver}/$i alsa-doc/
done

# Install header of alsa
mkdir -p $RPM_BUILD_ROOT/usr/src/linux/include/linux
for i in asound.h asoundid.h asequencer.h ainstr_simple.h ainstr_gf1.h ainstr_iw.h;do
 install -m644 alsa-driver-%{alsaver}/include/$i \
                $RPM_BUILD_ROOT/usr/src/linux-%{kversion}/include/linux/
done

%endif

b.



-- 
Brian J. Murrell

Reply via email to