summaryrefslogtreecommitdiffstats
path: root/redhat/applications/qalculate-tde/qalculate-tde.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/qalculate-tde/qalculate-tde.spec')
-rw-r--r--redhat/applications/qalculate-tde/qalculate-tde.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec
index 365e96bd8..ccfd3eac8 100644
--- a/redhat/applications/qalculate-tde/qalculate-tde.spec
+++ b/redhat/applications/qalculate-tde/qalculate-tde.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.1.0
%endif
%define tde_pkg qalculate-tde
%define tde_prefix /opt/trinity
@@ -74,6 +74,9 @@ BuildRequires: cln-devel
%if 0%{?pclinuxos} >= 2018
BuildRequires: libcln-devel
%endif
+%if 0%{?mgaversion} >= 7
+BuildRequires: %{_lib}cln-devel
+%endif
# SUSE desktop files utility
%if 0%{?suse_version}
@@ -106,6 +109,9 @@ This package contains the TDE user interface of qalculate.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+# Fix build on r14.0.x
+%__sed -i *"/Makefile.am" -e "s|\$(LIB_TQT)|-ltqt-mt|"
+
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"