Fix FTBFS caused by unversioned docdir change (#992054)

This commit is contained in:
Hans de Goede 2013-08-05 14:15:52 +02:00
parent 4ded1db8cd
commit e291905445

View File

@ -1,6 +1,6 @@
Name: libao
Version: 1.1.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Cross Platform Audio Output Library
Group: System Environment/Libraries
License: GPLv2+
@ -39,9 +39,10 @@ make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
%make_install INSTALL="install -p"
# remove unpackaged files from the buildroot
find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
%post -p /sbin/ldconfig
@ -50,14 +51,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES COPYING README
%{_libdir}/libao.so.*
%{_libdir}/ao
%{_mandir}/man5/*
%files devel
%defattr(-,root,root,-)
%doc doc/*.html doc/*.c doc/*.css
%{_includedir}/ao
%{_libdir}/libao.so
@ -66,6 +65,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
%changelog
* Mon Aug 05 2013 Hans de Goede <hdegoede@redhat.com> - 1.1.0-8
- Fix FTBFS caused by unversioned docdir change (#992054)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@ -181,7 +183,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
* Wed Nov 09 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.6-1
- update to 0.8.6
* Wed Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.5-3
* Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.5-3
- rebuild with gcc 4.0
* Thu Sep 02 2004 Colin Walters <walters@redhat.com>
@ -213,7 +215,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.8.3-2
- remove unpackaged files from the buildroot
* Fri Jul 18 2002 Bill Nottingham <notting@redhat.com> 0.8.3-1
* Thu Jul 18 2002 Bill Nottingham <notting@redhat.com> 0.8.3-1
- update to 0.8.3
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
@ -270,7 +272,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
* Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
- update CVS, grab aRts backend for libao
* Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
* Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
- update CVS
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>