From f23690265313f5e33853a82b0ca2d292a4445586 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 20 Nov 2014 21:35:24 +0200 Subject: [PATCH] drop duplicate yasm check --- libvpx.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libvpx.spec b/libvpx.spec index e76793e..02880f7 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -4,6 +4,10 @@ %bcond_without doc # don't build doc %bcond_without ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) +%ifnarch %{ix86} %{x8664} +%undefine with_asm +%endif + %if "%{pld_release}" == "ac" # not supported by compiler %undefine with_ssse3 @@ -26,9 +30,7 @@ URL: http://www.webmproject.org/ BuildRequires: doxygen BuildRequires: rpmbuild(macros) >= 1.673 BuildRequires: sed >= 4.0 -%ifarch %{ix86} %{x8664} %{?with_asm:BuildRequires: yasm >= 0.8} -%endif %if %{with doc} BuildRequires: %{php_name}-pcre BuildRequires: %{php_name}-program -- 2.43.0