do not move library files from /usr/lib to /lib

This commit is contained in:
Jaroslav Kysela 2020-06-07 22:54:17 +02:00
parent 3f1a7a5da0
commit f7063399dc

View File

@ -89,13 +89,6 @@ make doc
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
mv %{buildroot}%{_libdir}/libatopology.so.* %{buildroot}/%{_lib}
ln -snf ../../%{_lib}/libatopology.so.2 %{buildroot}%{_libdir}/libatopology.so
# Install global configuration files
mkdir -p -m 755 %{buildroot}/etc
install -p -m 644 %{SOURCE10} %{buildroot}/etc
@ -133,8 +126,8 @@ rm %{buildroot}/%{_includedir}/asoundlib.h
%license COPYING
%doc doc/asoundrc.txt modprobe-dist-oss.conf
%config %{_sysconfdir}/asound.conf
/%{_lib}/libasound.so.*
/%{_lib}/libatopology.so.*
/%{_libdir}/libasound.so.*
/%{_libdir}/libatopology.so.*
%{_bindir}/aserver
#{_libdir}/alsa-lib/
%{_datadir}/alsa/