summaryrefslogtreecommitdiffstats
path: root/redhat/applications/office/koffice-i18n/koffice-i18n.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/office/koffice-i18n/koffice-i18n.spec')
-rw-r--r--redhat/applications/office/koffice-i18n/koffice-i18n.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/redhat/applications/office/koffice-i18n/koffice-i18n.spec b/redhat/applications/office/koffice-i18n/koffice-i18n.spec
index bf014891d..c21d72bf7 100644
--- a/redhat/applications/office/koffice-i18n/koffice-i18n.spec
+++ b/redhat/applications/office/koffice-i18n/koffice-i18n.spec
@@ -587,7 +587,7 @@ for l in . %{TDE_LANGS}; do
pushd ${l}
fi
- 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
@@ -910,7 +910,6 @@ done
%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != ""
%files Latvian
%defattr(-,root,root,-)
-%{tde_datadir}/locale/lv
%{tde_datadir}/locale/lv/*
%endif