1
0

Fix the QtWE version workaround

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtwebengine?expand=0&rev=30
This commit is contained in:
Christophe Giboudeaux 2021-06-24 16:42:14 +00:00 committed by Git OBS Bridge
parent 77c292123b
commit b4ae447234
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 24 16:39:27 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update the CMake version workaround to get qtbase's real version
-------------------------------------------------------------------
Tue Jun 22 09:00:44 UTC 2021 - christophe@krop.fr

View File

@ -346,7 +346,7 @@ rm -f %{buildroot}%{_libqt5_libdir}/*.la
# ln -sf %{_datadir}/icu/*/icudt*l.dat %{buildroot}%{_datadir}/qt5/icudtl.dat
# Workaround to allow using QtWE with older Qt versions
%global qtcore_version %(printf %{pkg_version libQt5Core5})
%global qtcore_version %(printf %{pkg_version libQt5Core5} | cut -d + -f 1)
# NOTE the space after '%%{version}' is important to only match '5.15.X ${_Qt5XXX_FIND_VERSION_EXACT}'
sed -i 's#%{version} #%{qtcore_version} #' %{buildroot}%{_libqt5_libdir}/cmake/*/*Config.cmake