From d4aee049f514f2b6807822a6374b2832669b5c2c Mon Sep 17 00:00:00 2001 From: perex Date: Sep 18 2008 08:38:59 +0000 Subject: alsa-utils: fix alsa-info.sh and alsactl-add-ignore-option.patch --- diff --git a/alsa-utils.spec b/alsa-utils.spec index 1512b75..f4d57f5 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -4,7 +4,7 @@ Summary: Advanced Linux Sound Architecture (ALSA) utilities Name: alsa-utils Version: 1.0.18 -Release: 2%{?prever_dot}%{?dist} +Release: 3%{?prever_dot}%{?dist} License: GPLv2+ Group: Applications/Multimedia URL: http://www.alsa-project.org/ @@ -15,7 +15,7 @@ Source10: alsa.rules Source11: alsactl.conf Patch0: alsa-utils-1.0.18-alsaconf.patch Patch1: alsactl-fix-card-parsing.patch -Patch1: alsactl-add-ignore-option.patch +Patch2: alsactl-add-ignore-option.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: alsa-lib-devel >= %{version} BuildRequires: ncurses-devel @@ -31,6 +31,7 @@ Architecture (ALSA). %setup -q -n %{name}-%{version}%{?prever} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin @@ -68,7 +69,7 @@ touch %{buildroot}/etc/asound.state # Install alsa-info.sh script install -p -m 755 %{SOURCE6} %{buildroot}/usr/bin/alsa-info -ln -s alsa-info.sh %{buildroot}/usr/bin/alsa-info +ln -s alsa-info %{buildroot}/usr/bin/alsa-info.sh %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -95,6 +96,9 @@ if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then fi %changelog +* Thu Sep 18 2008 Jaroslav Kysela 1.0.18-3.rc3 +- fixed alsa-info.sh link + * Thu Sep 18 2008 Jaroslav Kysela 1.0.18-2.rc3 - fixed /lib/alsa/init path for x86_64 (was /lib64/alsa/init) - added /etc/alsa/asound.state -> /etc/asound.state shift to %post section