diff options
author | François Andriot <albator78@libertysurf.fr> | 2016-09-05 19:46:18 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2016-09-05 19:47:54 +0200 |
commit | d56083baedc6823797515c37e5204af3103ab772 (patch) | |
tree | 6ff09372a52daec45b766dfb3333cc4f3db1c859 | |
parent | 68bdd38edf8175e150ed2d6f3ff002344712e8ea (diff) | |
download | tde-packaging-d56083baedc6823797515c37e5204af3103ab772.tar.gz tde-packaging-d56083baedc6823797515c37e5204af3103ab772.zip |
RPM Packaging: fix dependency to qalculate
-rw-r--r-- | redhat/Makefile.r14 | 3 | ||||
-rw-r--r-- | redhat/applications/qalculate-tde/qalculate-tde.spec | 2 | ||||
-rw-r--r-- | redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec | 9 |
3 files changed, 10 insertions, 4 deletions
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14 index b9f52d2a9..36fb72ed0 100644 --- a/redhat/Makefile.r14 +++ b/redhat/Makefile.r14 @@ -585,7 +585,10 @@ potracegui: tdebase $(call buildpkg,applications/potracegui) qalculate-tde: tdebase +# Do NOT build on CentOS 5, CentOS 6 +ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) $(call buildpkg,applications/qalculate-tde) +endif qt4-tqt-theme-engine: tdebase # Do NOT build on CentOS 5, CentOS 6 diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec index 2b18cce8e..36a7aa8aa 100644 --- a/redhat/applications/qalculate-tde/qalculate-tde.spec +++ b/redhat/applications/qalculate-tde/qalculate-tde.spec @@ -66,7 +66,7 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: libtool -BuildRequires: qalculate-devel +BuildRequires: libqalculate-devel # SUSE desktop files utility %if 0%{?suse_version} 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 |