]> git.pld-linux.org Git - packages/libvpx.git/commitdiff
requires yasm >= 0.8
authorElan Ruusamäe <glen@delfi.ee>
Thu, 2 Aug 2012 09:52:53 +0000 (12:52 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 2 Aug 2012 09:52:53 +0000 (12:52 +0300)
see https://code.google.com/p/webm/issues/detail?id=145

libvpx.spec

index 9ecabe132473b8b0bec61a184dab1aee0f50859e..e73962236415fa6aa77d75141057c53627e777ff 100644 (file)
@@ -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
This page took 0.045647 seconds and 4 git commands to generate.