update to 1.7.0, ABI break results in somajor bump

This commit is contained in:
Tom Callaway 2018-01-26 15:10:09 -05:00
parent 1c8d556fbc
commit e72342beec
2 changed files with 25 additions and 7 deletions

View File

@ -0,0 +1,12 @@
diff -up libvpx-1.7.0/build/make/configure.sh.leave-fs-on libvpx-1.7.0/build/make/configure.sh
--- libvpx-1.7.0/build/make/configure.sh.leave-fs-on 2018-01-26 15:02:18.767645332 -0500
+++ libvpx-1.7.0/build/make/configure.sh 2018-01-26 15:02:28.594420775 -0500
@@ -1440,7 +1440,7 @@ EOF
# Work around longjmp interception on glibc >= 2.11, to improve binary
# compatibility. See http://code.google.com/p/webm/issues/detail?id=166
- enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+ # enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
# Check for strip utility variant
${STRIP} -V 2>/dev/null | grep GNU >/dev/null && enable_feature gnu_strip

View File

@ -1,12 +1,12 @@
%global somajor 4 %global somajor 5
%global sominor 0 %global sominor 0
%global sotiny 0 %global sotiny 0
%global soversion %{somajor}.%{sominor}.%{sotiny} %global soversion %{somajor}.%{sominor}.%{sotiny}
Name: libvpx Name: libvpx
Summary: VP8/VP9 Video Codec SDK Summary: VP8/VP9 Video Codec SDK
Version: 1.6.1 Version: 1.7.0
Release: 5%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2 #Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
@ -18,9 +18,8 @@ URL: http://www.webmproject.org/code/
BuildRequires: yasm BuildRequires: yasm
%endif %endif
BuildRequires: doxygen, php-cli, perl(Getopt::Long) BuildRequires: doxygen, php-cli, perl(Getopt::Long)
# Do not disable FORTIFY_SOURCE=2
#Fix CVE-2017-13194 Patch0: libvpx-1.7.0-leave-fortify-source-on.patch
Patch001: 0001-Fix-image-width-alignment.-Enable-ImageSizeSetting-t.patch
%description %description
libvpx provides the VP8/VP9 SDK, which allows you to integrate your applications libvpx provides the VP8/VP9 SDK, which allows you to integrate your applications
@ -47,7 +46,7 @@ and decoder.
%prep %prep
%setup -q -n libvpx-%{version} %setup -q -n libvpx-%{version}
%patch001 -p1 -b .001 %patch0 -p1 -b .leave-fs-on
%build %build
%ifarch %{ix86} %ifarch %{ix86}
@ -59,10 +58,14 @@ and decoder.
%ifarch armv7hl %ifarch armv7hl
%global vpxtarget armv7-linux-gcc %global vpxtarget armv7-linux-gcc
%else %else
%ifarch aarch64
%global vpxtarget arm64-linux-gcc
%else
%global vpxtarget generic-gnu %global vpxtarget generic-gnu
%endif %endif
%endif %endif
%endif %endif
%endif
# History: The configure script used to reject the shared flag on the generic target. # History: The configure script used to reject the shared flag on the generic target.
# This meant that we needed to fall back to manual shared lib creation. # This meant that we needed to fall back to manual shared lib creation.
@ -193,6 +196,9 @@ popd
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Fri Jan 26 2018 Tom Callaway <spot@fedoraproject.org> - 1.7.0-1
- update to 1.7.0 (ABI change)
* Wed Jan 17 2018 Wim Taymans <wtaymans@wredhat.com> - 1.6.1-5 * Wed Jan 17 2018 Wim Taymans <wtaymans@wredhat.com> - 1.6.1-5
- fix for CVE-2017-13194 - fix for CVE-2017-13194