diff options
Diffstat (limited to 'redhat/applications/development/tdesvn/tdesvn.spec')
-rw-r--r-- | redhat/applications/development/tdesvn/tdesvn.spec | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/redhat/applications/development/tdesvn/tdesvn.spec b/redhat/applications/development/tdesvn/tdesvn.spec index 98047b557..f77bbd3b5 100644 --- a/redhat/applications/development/tdesvn/tdesvn.spec +++ b/redhat/applications/development/tdesvn/tdesvn.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.1.0 +%define tde_version 14.1.2 %endif %define tde_pkg tdesvn %define tde_prefix /opt/trinity @@ -79,12 +79,20 @@ BuildRequires: brp-check-trinity # SVN support BuildRequires: subversion-devel -# SQLITE support -BuildRequires: sqlite-devel +# SQLITE3 support +%if 0%{?mgaversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif BuildRequires: libtqt3-mt-sqlite3 # ACL support +%if 0%{?mdkver} +BuildRequires: %{_lib}acl-devel +%else BuildRequires: libacl-devel +%endif # IDN support BuildRequires: libidn-devel @@ -97,7 +105,11 @@ BuildRequires: gamin-devel %endif # OPENSSL support +%if 0%{?mdkver} +BuildRequires: %{_lib}openssl-devel +%else BuildRequires: openssl-devel +%endif Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} @@ -257,7 +269,7 @@ unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" -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 |