commit b6fc2527bfdf16323e7acb219f4aa3624129dc88
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Jul 25 08:14:23 2018 +0100
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)