add patch to fix test failures

This commit is contained in:
Peter Robinson 2017-05-26 09:21:27 +01:00
parent 0af7b695de
commit 5d83a4d1f9

View File

@ -1,15 +1,18 @@
Name: opus
Version: 1.2
Release: 0.3%{?dist}
Summary: An audio codec for use in low-delay speech and audio communication
Name: opus
Version: 1.2
Release: 0.3%{?dist}
Summary: An audio codec for use in low-delay speech and audio communication
Group: System Environment/Libraries
License: BSD
URL: http://www.opus-codec.org/
Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}-beta.tar.gz
Group: System Environment/Libraries
License: BSD
URL: http://www.opus-codec.org/
Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}-beta.tar.gz
# This is the final IETF Working Group RFC
Source1: http://tools.ietf.org/rfc/rfc6716.txt
Source2: https://tools.ietf.org/html/draft-ietf-codec-opus-update-04
Source1: http://tools.ietf.org/rfc/rfc6716.txt
Source2: https://tools.ietf.org/html/draft-ietf-codec-opus-update-04
Patch0: opus-4507637cc.patch
BuildRequires: automake autoconf libtool
BuildRequires: doxygen
@ -29,10 +32,12 @@ Files for development with opus.
%prep
%setup -q -n %{name}-%{version}-beta
%patch0 -p1 -b .ftb
cp %{SOURCE1} .
cp %{SOURCE2} .
%build
autoreconf -vif
%configure --enable-custom-modes --enable-update-draft --disable-static
make %{?_smp_mflags} V=1