summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdesdk/tdesdk.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/core/tdesdk/tdesdk.spec')
-rw-r--r--redhat/core/tdesdk/tdesdk.spec21
1 files changed, 19 insertions, 2 deletions
diff --git a/redhat/core/tdesdk/tdesdk.spec b/redhat/core/tdesdk/tdesdk.spec
index 52ad08ad5..8d1ac42b6 100644
--- a/redhat/core/tdesdk/tdesdk.spec
+++ b/redhat/core/tdesdk/tdesdk.spec
@@ -80,7 +80,11 @@ BuildRequires: brp-check-trinity
%endif
# ACL support
+%if 0%{?mdkver}
+BuildRequires: %{_lib}acl-devel
+%else
BuildRequires: libacl-devel
+%endif
# IDN support
BuildRequires: libidn-devel
@@ -117,12 +121,21 @@ BuildRequires: libdb-4_8-devel
# kbabel, F-7+: flex >= 2.5.33-9
BuildRequires: flex
+%if 0%{?mdkver}
+BuildRequires: flex-devel
+%endif
# umbrello
-BuildRequires: libxslt-devel
BuildRequires: libxml2-devel
BuildRequires: subversion-devel
BuildRequires: neon-devel
+# XSLT support
+%if 0%{?mdkver}
+BuildRequires: %{_lib}xslt-devel
+%else
+BuildRequires: libxslt-devel
+%endif
+
# PERL support
BuildRequires: perl
%if 0%{?fedora} >= 19
@@ -130,7 +143,11 @@ BuildRequires: perl-podlators
%endif
# OPENSSL support
+%if 0%{?mdkver}
+BuildRequires: %{_lib}openssl-devel
+%else
BuildRequires: openssl-devel
+%endif
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8
@@ -1092,7 +1109,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
-if ! rpm -E %%cmake|grep -q "cd build"; then
+if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
%__mkdir_p build
cd build
fi