diff --git a/alsa-lib.spec b/alsa-lib.spec index 8b5ae4c..1c9d4f9 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -17,6 +17,7 @@ URL: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: doxygen Requires(post): /sbin/ldconfig, coreutils +Conflicts: filesystem < 3 %description The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI @@ -57,11 +58,6 @@ make doc rm -rf %{buildroot} make DESTDIR=%{buildroot} install -# We need the library to be available even before /usr might be mounted -mkdir -p %{buildroot}/%{_lib} -mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib} -ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so - # Install global configuration files mkdir -p -m 755 %{buildroot}/etc install -p -m 644 %{SOURCE10} %{buildroot}/etc @@ -77,7 +73,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc COPYING ChangeLog TODO doc/asoundrc.txt %config %{_sysconfdir}/asound.conf -/%{_lib}/libasound.so.* +%{_libdir}/libasound.so.* %{_bindir}/aserver %{_libdir}/alsa-lib/ %{_datadir}/alsa/