From 9fcae6afb81c9cf3881b7cb0ba1fbc3e9749c36b Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 11 May 2017 12:15:44 -0500 Subject: [PATCH] add comment about version hack future improvements --- qt5-qtwebengine.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 8d47bad..18dc3fe 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -463,7 +463,8 @@ popd mkdir -p %{buildroot}%{_qtwebengine_dictionaries_dir} -# adjust cmake dep(s) to allow for using the same Qt5 that was used to build it (if older) +# adjust cmake dep(s) to allow for using the same Qt5 that was used to build it +# only if older... (I suppose what we really want is the lesser of %%version, %%_qt5_version) %if 0%{?fedora} < 27 sed -i -e "s|%{version} \${_Qt5WebEngine|%{_qt5_version} \${_Qt5WebEngine|" \ %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake