[packages/libvpx] drop duplicate yasm check

glen glen at pld-linux.org
Thu Nov 20 20:35:35 CET 2014


commit f23690265313f5e33853a82b0ca2d292a4445586
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 20 21:35:24 2014 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpx.git/commitdiff/f23690265313f5e33853a82b0ca2d292a4445586



More information about the pld-cvs-commit mailing list