summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/python-tqt/python-tqt-14.0.0.spec')
-rw-r--r--redhat/dependencies/python-tqt/python-tqt-14.0.0.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
index 1e33edf24..e86012b01 100644
--- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
+++ b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
@@ -29,10 +29,16 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: python-tqt-14.0.0-ftbfs.patch
BuildRequires: gcc-c++
-BuildRequires: python-sip
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-tqscintilla-devel
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: sip-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: python-sip
+%endif
+
# TDE specific building variables
BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqt3-devel >= 3.5.0