From b6fc2527bfdf16323e7acb219f4aa3624129dc88 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Wed, 25 Jul 2018 08:14:23 +0100 Subject: [PATCH] Fix build with older fedora --- mpv.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpv.spec b/mpv.spec index 3cc36fa..df377d4 100644 --- a/mpv.spec +++ b/mpv.spec @@ -61,8 +61,11 @@ BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(zlib) +%if 0%{?fedora} >= 28 BuildRequires: python3-docutils - +%else +BuildRequires: python2-docutils +%endif BuildRequires: perl(Math::BigInt) BuildRequires: perl(Math::BigRat) BuildRequires: perl(Encode)