From 3e1858b096a4d3f4dff1b2f7cfe9ab9a7bced7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Wed, 9 Dec 2020 06:13:00 +0100 Subject: [PATCH] Add condition for SVT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert-André Mauchin --- libavif.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavif.spec b/libavif.spec index 7b8c60a..2e9fc94 100644 --- a/libavif.spec +++ b/libavif.spec @@ -25,7 +25,7 @@ BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(rav1e) -BuildRequires: pkgconfig(SvtAv1Enc) +%{?with_svt:BuildRequires: pkgconfig(SvtAv1Enc)} BuildRequires: pkgconfig(zlib) %description