commit 53b5c9b5aa25172c7b56745264e4c48e24959d66
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sat Dec 8 22:12:42 2018 +0100
Fix BR packages
mythtv.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 54b90db..e6bd970 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -122,7 +122,7 @@ Patch1: %{name}-space_in_GB.patch
%endif
# Python2 prefix for building on rhel
-%if 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 8
%global py_prefix python
%endif
@@ -296,10 +296,11 @@ BuildRequires: perl(IO::Socket::INET6)
%if %{with python}
BuildRequires: %{py_prefix}-devel
-BuildRequires: %{py_prefix}-urlgrabber
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: %{py_prefix}-mysql
+BuildRequires: %{py_prefix}-urlgrabber
%else
+BuildRequires: python-urlgrabber
BuildRequires: MySQL-python
%endif
%endif
Show replies by date