[opus/el6] add compat bits in for el5/6
Peter Robinson
pbrobinson at fedoraproject.org
Fri Oct 5 10:59:06 UTC 2012
commit e5b0f257b0a4d82a1be36a1f64bd40c6ec6a1680
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Fri Oct 5 11:58:48 2012 +0100
add compat bits in for el5/6
opus.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
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
More information about the scm-commits
mailing list