commit 8e5a13f4a77b19be86f620ff83957a8ed45bf278
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Apr 8 18:37:55 2019 +0200
Try fixup
mythtv.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 63fc2b7..437a6cc 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -363,9 +363,14 @@ Requires: perl(JSON)
%endif
%if %{with mythnetvision}
+%if 0%{?rhel} > 7 || 0%{?fedora} > 30
BuildRequires: %{py_prefix}-pycurl
BuildRequires: %{py_prefix}-lxml
-BuildRequires: %{py_prefix}-oauth
+%else
+BuildRequires: %{py_prefix}-pycurl
+BuildRequires: %{py_prefix}-lxml
+BuildRequires: python2-oauth
+%endif
%endif
%endif