eliminate some lint errors

This commit is contained in:
Jaroslav Kysela 2018-10-16 17:34:41 +02:00
parent 2963703767
commit 76897df30a

View File

@ -79,6 +79,8 @@ make %{?_smp_mflags} V=1
make doc
%install
%global sysmodprobedir %{_prefix}/lib/modprobe.d
make DESTDIR=%{buildroot} install
# We need the library to be available even before /usr might be mounted
@ -91,8 +93,8 @@ mkdir -p -m 755 %{buildroot}/etc
install -p -m 644 %{SOURCE10} %{buildroot}/etc
# Install the modprobe files for ALSA
mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
mkdir -p -m 755 %{buildroot}%{sysmodprobedir}
install -p -m 644 %{SOURCE11} %{buildroot}%{sysmodprobedir}/dist-alsa.conf
# bug#926973, place this file to the doc directory
install -p -m 644 %{SOURCE12} .
@ -120,7 +122,7 @@ find %{buildroot} -name '*.la' -delete
%{_datadir}/alsa/
%exclude %{_datadir}/alsa/ucm
%exclude %{_datadir}/alsa/topology
/lib/modprobe.d/dist-*
%{sysmodprobedir}/dist-*
%files devel
%doc TODO doc/doxygen/