do not move library files from /usr/lib to /lib
This commit is contained in:
parent
3f1a7a5da0
commit
f7063399dc
@ -89,13 +89,6 @@ make doc
|
|||||||
|
|
||||||
make DESTDIR=%{buildroot} install
|
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
|
# Install global configuration files
|
||||||
mkdir -p -m 755 %{buildroot}/etc
|
mkdir -p -m 755 %{buildroot}/etc
|
||||||
install -p -m 644 %{SOURCE10} %{buildroot}/etc
|
install -p -m 644 %{SOURCE10} %{buildroot}/etc
|
||||||
@ -133,8 +126,8 @@ rm %{buildroot}/%{_includedir}/asoundlib.h
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc doc/asoundrc.txt modprobe-dist-oss.conf
|
%doc doc/asoundrc.txt modprobe-dist-oss.conf
|
||||||
%config %{_sysconfdir}/asound.conf
|
%config %{_sysconfdir}/asound.conf
|
||||||
/%{_lib}/libasound.so.*
|
/%{_libdir}/libasound.so.*
|
||||||
/%{_lib}/libatopology.so.*
|
/%{_libdir}/libatopology.so.*
|
||||||
%{_bindir}/aserver
|
%{_bindir}/aserver
|
||||||
#{_libdir}/alsa-lib/
|
#{_libdir}/alsa-lib/
|
||||||
%{_datadir}/alsa/
|
%{_datadir}/alsa/
|
||||||
|
Loading…
Reference in New Issue
Block a user