diff --git a/opus.spec b/opus.spec index 21366c9..81cdd66 100644 --- a/opus.spec +++ b/opus.spec @@ -9,7 +9,6 @@ URL: http://www.opus-codec.org/ Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz # 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) BuildRequires: doxygen %description @@ -36,7 +35,6 @@ cp %{SOURCE1} . make %{?_smp_mflags} V=1 %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Remove libtool archives and static libs @@ -46,21 +44,16 @@ rm -rf %{buildroot}%{_datadir}/doc/opus/html %check make check -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license COPYING %{_libdir}/libopus.so.* %files devel -%defattr(-,root,root,-) %doc README doc/html rfc6716.txt %{_includedir}/opus %{_libdir}/libopus.so