fix install
This commit is contained in:
parent
f192583591
commit
a9f2d6d01d
@ -1,7 +1,7 @@
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||
Name: alsa-lib
|
||||
Version: 1.0.6
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: LGPL
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
||||
@ -54,8 +54,6 @@ ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
|
||||
|
||||
mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
|
||||
|
||||
ln -snf ../../etc/alsa %{buildroot}%{_datadir}/alsa
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
@ -63,6 +61,9 @@ rm -rf %{buildroot}
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%triggerpostun -- alsa-lib < 1.0.6-2
|
||||
ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING ChangeLog TODO doc/asoundrc.txt
|
||||
@ -70,7 +71,6 @@ rm -rf %{buildroot}
|
||||
%{_bindir}/aserver
|
||||
/%{_lib}/libasound.so.*
|
||||
/etc/alsa
|
||||
%{_datadir}/alsa
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
@ -84,7 +84,7 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
|
||||
%changelog
|
||||
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
|
||||
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
|
||||
- move libraries & data to root fs, needed at boot time
|
||||
|
||||
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
|
||||
|
Loading…
Reference in New Issue
Block a user