From d72b3410991a9cdcd159b7600ddf609e90c5b5d1 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 11 Jun 2019 17:18:32 +0200 Subject: [PATCH] Only el7 and el8 will be tested, el8 still wip --- ffmpeg.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index eb56ca8..c40e832 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -7,7 +7,7 @@ # Cuda and others are only available on some arches %global cuda_arches x86_64 -%if 0%{?rhel} && 0%{?rhel} < 8 +%if 0%{?el7} %global _without_aom 1 %global _without_frei0r 1 %global _without_mfx 1 @@ -15,6 +15,11 @@ %global _without_vpx 1 %endif +%if 0%{?el8} +%global _without_aom 1 +%global _without_mfx 1 +%endif + %if 0%{?fedora} %ifarch x86_64 %global _with_vmaf 1