diff --git a/speex.spec b/speex.spec index 35b1a7e..7f4ec0c 100644 --- a/speex.spec +++ b/speex.spec @@ -7,7 +7,6 @@ License: BSD Group: System Environment/Libraries URL: http://www.speex.org/ Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libogg-devel %description @@ -47,23 +46,17 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS COPYING TODO ChangeLog README NEWS %{_libdir}/libspeex*.so.* %files devel -%defattr(-,root,root,-) %doc doc/manual.pdf %{_includedir}/speex %{_datadir}/aclocal/speex.m4 @@ -72,7 +65,6 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_libdir}/libspeex*.la %files tools -%defattr(-,root,root,-) %{_bindir}/speexenc %{_bindir}/speexdec %{_mandir}/man1/speexenc.1*