diff --git a/opus.spec b/opus.spec index bb59ade..494f235 100644 --- a/opus.spec +++ b/opus.spec @@ -7,8 +7,9 @@ Group: System Environment/Libraries License: BSD URL: http://www.opus-codec.org/ Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz -# This is the current IETF Working Group draft +# This is the final IETF Working Group RFC Source1: http://tools.ietf.org/rfc/rfc6716.txt +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description The Opus codec is designed for interactive speech and audio transmission over @@ -34,6 +35,7 @@ cp %{SOURCE1} . make %{?_smp_mflags} %install +rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Remove libtool archives and static libs @@ -43,6 +45,9 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %check make check +%clean +rm -rf %{buildroot} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig