commit d29758670422cae0a6c5c0442e5e0ffd45fdde3b
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed Oct 2 22:14:51 2019 +0530
Rebundle syslibs on older Fedoras
chromium-vaapi.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 2e7183a..caa4047 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -39,6 +39,7 @@
# A patch fix building so enabled by default for Fedora 30
# Need icu version >= 64
%bcond_with system_libicu
+%if 0%{?fedora} >= 30
# Allow testing whether libvpx can be unbundled
%bcond_without system_libvpx
# Allow testing whether ffmpeg can be unbundled
@@ -46,6 +47,14 @@
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
%bcond_without system_minizip
+%else
+%bcond_with system_libvpx
+%bcond_with system_ffmpeg
+#Allow minizip to be unbundled
+#mini-compat is going to be removed from fedora 30!
+%bcond_with system_minizip
+%endif
+
# Need re2 ver. 2016.07.21 for re2::LazyRE2
%bcond_with system_re2