commit f286d7e0e8bac89ea23f3256bbf595d49bdfee87
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Wed Jan 31 15:27:01 2018 -0600
Fix conditionals for python-requests and python-requests-cache as they are not
available (or of a high enough version) in EPEL.
mythtv.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/mythtv.spec b/mythtv.spec
index ea77d2f..24bb182 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -540,8 +540,10 @@ Requires: lame
Requires: mythtv-common = %{version}-%{release}
Requires: mythtv-setup
Requires: python2-future
+%if 0%{?fedora}
Requires: python2-requests
Requires: python-requests-cache
+%endif
Requires(pre): shadow-utils
Conflicts: xmltv-grabbers < 0.5.37
@@ -577,8 +579,10 @@ mythtv backend.
Summary: Common components needed by multiple other MythTV components
# For ttvdb.py
Requires: python2-future
+%if 0%{?fedora}
Requires: python2-requests
Requires: python-requests-cache
+%endif
%description common
MythTV provides a unified graphical interface for recording and viewing