From c5fd0f2e8e80b6566eb0194c7c8cffc88e2d71bc Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 25 Sep 2019 11:11:39 +0200 Subject: [PATCH] Revert "Do not install .la files" This reverts commit 2ebc3ddd0b7c0088bc497b1cee28ba13c384140d. --- qt5-qttools.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/qt5-qttools.spec b/qt5-qttools.spec index 10d3252..503adbd 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -10,7 +10,7 @@ Summary: Qt5 - QtTool components Name: qt5-qttools Version: 5.12.5 -Release: 2%{?dist} +Release: 1%{?dist} License: LGPLv3 or LGPLv2 Url: http://www.qt.io @@ -219,7 +219,7 @@ popd ## .prl/.la file love # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs pushd %{buildroot}%{_qt5_libdir} -for prl_file in *Qt5*.prl ; do +for prl_file in libQt5*.prl ; do sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} if [ -f "$(basename ${prl_file} .prl).so" ]; then rm -fv "$(basename ${prl_file} .prl).la" @@ -432,6 +432,7 @@ fi %{_qt5_libdir}/libQt5Designer*.so %{_qt5_libdir}/libQt5Help.prl %{_qt5_libdir}/libQt5Help.so +%{_qt5_libdir}/Qt5UiPlugin.la %{_qt5_libdir}/libQt5UiPlugin.prl %{_qt5_libdir}/cmake/Qt5Designer/Qt5DesignerConfig*.cmake %dir %{_qt5_libdir}/cmake/Qt5Help/ @@ -466,9 +467,6 @@ fi %changelog -* Wed Sep 25 2019 Jan Grulich - 5.12.5-2 -- Do not install *.la files - * Tue Sep 24 2019 Jan Grulich - 5.12.5-1 - 5.12.5