diff --git a/texworks.spec b/texworks.spec index 7beaac4..210f795 100644 --- a/texworks.spec +++ b/texworks.spec @@ -101,8 +101,10 @@ qmake 'INSTALL_PREFIX=%{_prefix}' 'TW_PLUGINPATH=%{_libdir}/%{name}' -after \ popd #Main package -qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}' - +qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}' -after \ + 'QMAKE_CXXFLAGS -= -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \ + 'QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"%{_datadir}/myspell\\\"' + %install #Python plugin pushd plugins-src/TWPythonPlugin/