From 217b1bfc13c8128af71b52a27eb64107792ad979 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 10 Apr 2017 15:58:16 -0500 Subject: [PATCH] fix sed to make all *Config.cmake replacements --- qt5-qtwebengine.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 036114b..dc02338 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -441,8 +441,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 (even if older) -sed -i -e "s|%{version} \${_|%{_qt5_version} \${_|" \ - %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine/Qt5WebEngineCoreConfig.cmake +sed -i -e "s|%{version} \${_Qt5WebEngine|%{_qt5_version} \${_Qt5WebEngine|" \ + %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake %post -p /sbin/ldconfig