[packages/libvpx] requires yasm >= 0.8

glen glen at pld-linux.org
Thu Aug 2 11:53:11 CEST 2012


commit 3c828a1d7d5824ce68c921f7a0303d1adebbf364
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 2 12:52:53 2012 +0300

    requires yasm >= 0.8
    
    see https://code.google.com/p/webm/issues/detail?id=145

 libvpx.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libvpx.spec b/libvpx.spec
index 9ecabe1..e739622 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without	asm	# x86 assembler
-#
+
 Summary:	VP8, a high-quality video codec
 Summary(pl.UTF-8):	VP8 - kodek obrazu wysokiej jakości
 Name:		libvpx
@@ -9,7 +9,7 @@ Version:	1.0.0
 Release:	1
 License:	BSD
 Group:		Libraries
-#Source0Download: http://code.google.com/p/webm/downloads/list
+# Source0Download: http://code.google.com/p/webm/downloads/list
 Source0:	https://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2
 # Source0-md5:	d987b5140412edd37d2c6b10c29ad484
 URL:		http://www.webmproject.org/
@@ -19,7 +19,7 @@ BuildRequires:	php-common >= 4:5.0.0
 BuildRequires:	php-pcre
 BuildRequires:	sed >= 4.0
 %ifarch %{ix86} %{x8664}
-%{?with_asm:BuildRequires:	yasm}
+%{?with_asm:BuildRequires:	yasm >= 0.8}
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -100,7 +100,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/vpx,%{_libdir}}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvpx.so.1.0
 
 # adjust prefix and libdir
-sed -i -e 's,^prefix=.*,prefix=%{_prefix},;s,^libdir=.*,libdir=%{_libdir},' $RPM_BUILD_ROOT%{_pkgconfigdir}/vpx.pc
+%{__sed} -i -e 's,^prefix=.*,prefix=%{_prefix},;s,^libdir=.*,libdir=%{_libdir},' $RPM_BUILD_ROOT%{_pkgconfigdir}/vpx.pc
 
 %clean
 rm -rf $RPM_BUILD_ROOT


More information about the pld-cvs-commit mailing list