From ae3c93c389069ac7dc3e747786fb46772f6e2285 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 15 Dec 2017 10:40:00 -0600 Subject: [PATCH] fix logic error replace version by lesser_version instead --- qt5-qtwebengine.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index f6670ac..77c028e 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -468,7 +468,7 @@ mkdir -p %{buildroot}%{_qtwebengine_dictionaries_dir} # adjust cmake dep(s) to allow for using the same Qt5 that was used to build it # using the lesser of %%version, %%_qt5_version %global lesser_version $(echo -e "%{version}\n%{_qt5_version}" | sort -V | head -1) -sed -i -e "s|%{lesser_version} \${_Qt5WebEngine|%{_qt5_version} \${_Qt5WebEngine|" \ +sed -i -e "s|%{version} \${_Qt5WebEngine|%{lesser_version} \${_Qt5WebEngine|" \ %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake