Fix build with unversioned %{_docdir_fmt}.
This commit is contained in:
parent
fdf923cecc
commit
ded7f622fa
@ -5,7 +5,7 @@
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) library
|
||||
Name: alsa-lib
|
||||
Version: 1.0.27.2
|
||||
Release: 1%{?prever_dot}%{?dist}
|
||||
Release: 2%{?prever_dot}%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.alsa-project.org/
|
||||
@ -74,8 +74,7 @@ install -p -m 644 %{SOURCE10} %{buildroot}/etc
|
||||
mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
|
||||
install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
|
||||
# bug#926973, place this file to the doc directory
|
||||
mkdir -p -m 755 %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
|
||||
install -p -m 644 %{SOURCE12} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/modprobe-dist-oss.conf
|
||||
install -p -m 644 %{SOURCE12} .
|
||||
|
||||
# Create UCM directory
|
||||
mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
|
||||
@ -91,7 +90,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING TODO doc/asoundrc.txt
|
||||
%doc COPYING TODO doc/asoundrc.txt modprobe-dist-oss.conf
|
||||
# file is as old as 0.2.0 / Red Hat bugzilla #510212
|
||||
#doc Changelog
|
||||
%config %{_sysconfdir}/asound.conf
|
||||
@ -111,6 +110,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
|
||||
%changelog
|
||||
* Thu Aug 1 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.27.2-2
|
||||
- Fix build with unversioned %%{_docdir_fmt}.
|
||||
|
||||
* Mon Jul 08 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.2-1
|
||||
- Updated to 1.0.27.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user