From e5b0f257b0a4d82a1be36a1f64bd40c6ec6a1680 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 5 Oct 2012 11:58:48 +0100 Subject: [PATCH] add compat bits in for el5/6 --- opus.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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