resolve bug#926973

This commit is contained in:
Jaroslav Kysela 2013-04-11 15:49:05 +02:00
parent e30f7d86d4
commit 8cf967867c
2 changed files with 7 additions and 4 deletions

View File

@ -73,7 +73,8 @@ install -p -m 644 %{SOURCE10} %{buildroot}/etc
# Install the modprobe files for ALSA # Install the modprobe files for ALSA
mkdir -p -m 755 %{buildroot}/lib/modprobe.d/ mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
install -p -m 644 %{SOURCE12} %{buildroot}/lib/modprobe.d/dist-oss.conf # bug#926973
#install -p -m 644 %{SOURCE12} %{buildroot}/lib/modprobe.d/dist-oss.conf
# Create UCM directory # Create UCM directory
mkdir -p %{buildroot}/%{_datadir}/alsa/ucm mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
@ -87,7 +88,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING TODO doc/asoundrc.txt %doc COPYING TODO doc/asoundrc.txt ${SOURCE12}
# file is as old as 0.2.0 / Red Hat bugzilla #510212 # file is as old as 0.2.0 / Red Hat bugzilla #510212
#doc Changelog #doc Changelog
%config %{_sysconfdir}/asound.conf %config %{_sysconfdir}/asound.conf
@ -109,6 +110,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog %changelog
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.17-1 * Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.17-1
- Updated to 1.0.27 - Updated to 1.0.27
- move dist-oss.conf to doc as modprobe-dist-oss.conf
* Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4 * Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4
- Add upstream patch to explicitly include sys/types.h - Add upstream patch to explicitly include sys/types.h

View File

@ -2,6 +2,7 @@
# This has been disabled in F11 onwards because it can interfere with the # This has been disabled in F11 onwards because it can interfere with the
# PulseAudio sound service (a legacy OSS application can prevent PulseAudio # PulseAudio sound service (a legacy OSS application can prevent PulseAudio
# applications from playing sound by preventing PulseAudio from (re-)opening # applications from playing sound by preventing PulseAudio from (re-)opening
# the sound device). To re-enable support, uncomment the following line: # the sound device). To re-enable support, copy this file to
# the /etc/modprobe.d directory.
# #
# install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss