[speex] remove obsolete macros

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Apr 5 15:23:37 UTC 2013


commit faa608ac1f844b5dd3be94005cd7e5c398339dc6
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Apr 5 17:07:10 2013 +0200

    remove obsolete macros

 speex.spec |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
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*


More information about the scm-commits mailing list