From 6e46cfff86bb53fb57e1a590f793fc798cf4391c Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 25 Oct 2019 18:23:50 +0100 Subject: [PATCH] f30 and below doesn't have ppc64le luajit --- mpv.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpv.spec b/mpv.spec index 7c60886..87f3ea1 100644 --- a/mpv.spec +++ b/mpv.spec @@ -54,7 +54,11 @@ BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libquvi-0.9) BuildRequires: pkgconfig(libva) +%if 0%{?fedora} < 31 +BuildRequires: pkgconfig(lua-5.1) +%else BuildRequires: pkgconfig(luajit) +%endif BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(vdpau)