summaryrefslogtreecommitdiffstats
path: root/redhat/extras
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:46:18 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:47:54 +0200
commitd56083baedc6823797515c37e5204af3103ab772 (patch)
tree6ff09372a52daec45b766dfb3333cc4f3db1c859 /redhat/extras
parent68bdd38edf8175e150ed2d6f3ff002344712e8ea (diff)
downloadtde-packaging-d56083baedc6823797515c37e5204af3103ab772.tar.gz
tde-packaging-d56083baedc6823797515c37e5204af3103ab772.zip
RPM Packaging: fix dependency to qalculate
Diffstat (limited to 'redhat/extras')
-rw-r--r--redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec b/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec
index 53219ac1d..c848e39c4 100644
--- a/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec
+++ b/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec
@@ -182,7 +182,6 @@ Requires: trinity-kvkbd
Requires: trinity-kvpnc
Requires: trinity-kxmleditor
Requires: trinity-mplayerthumbs
-Requires: trinity-qalculate-tde
Requires: trinity-piklab
Requires: trinity-potracegui
Requires: trinity-smb4k
@@ -242,9 +241,13 @@ Requires: trinity-tdepowersave
#Requires: trinity-gtk3-tqt-engine
#Requires: trinity-qt4-tqt-theme-engine
+# Missing qalculate on older RHEL ...
+%if 0%{?rhel} == 0 || 0%{?rhel} >= 7
+Requires: trinity-qalculate-tde
+%endif
+
# On RHEL 5/7, lilypond is not available, so no rosegarden :'-(
-%if 0%{?rhel} == 5 || 0%{?rhel} == 7
-%else
+%if 0%{?rhel} == 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora}
Requires: trinity-rosegarden
%endif