Replace yasm with nasm

Resolves: RHEL-45221
This commit is contained in:
Wim Taymans 2024-07-05 09:20:26 +02:00
parent e919d3abef
commit ddb0c88201

View File

@ -6,7 +6,7 @@
Name: libvpx Name: libvpx
Summary: VP8/VP9 Video Codec SDK Summary: VP8/VP9 Video Codec SDK
Version: 1.14.0 Version: 1.14.0
Release: 2%{?dist} Release: 3%{?dist}
License: BSD-3-Clause License: BSD-3-Clause
URL: http://www.webmproject.org/code/ URL: http://www.webmproject.org/code/
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
@ -19,7 +19,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: yasm BuildRequires: nasm
%endif %endif
BuildRequires: doxygen, php-cli, perl(Getopt::Long) BuildRequires: doxygen, php-cli, perl(Getopt::Long)
@ -87,6 +87,9 @@ and decoder.
%if ! %{generic_target} %if ! %{generic_target}
--enable-shared \ --enable-shared \
%endif %endif
%ifarch %{ix86} x86_64
--as=nasm \
%endif
--enable-install-srcs \ --enable-install-srcs \
--prefix=%{_prefix} --libdir=%{_libdir} --size-limit=16384x16384 --prefix=%{_prefix} --libdir=%{_libdir} --size-limit=16384x16384
@ -199,6 +202,10 @@ rm -rf %{buildroot}%{_prefix}/src
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Mon Mar 04 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 1.14.0-3
- Replace yasm with nasm
Resolves: RHEL-45221
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.14.0-2 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.14.0-2
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild