diff --git a/qt5-qttools.spec b/qt5-qttools.spec index 72988d078967e58ab250a51bfbbb000e955b120d..4cd777baba9f18fcd2b97230665435e76845ace6 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -1,8 +1,11 @@ +# Disable automatic .la file removal +%global __brp_remove_la_files %nil + %global qt_module qttools Name: qt5-qttools Version: 5.15.10 -Release: 3 +Release: 4 Summary: Qt5 QtTool module License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0 Url: http://www.qt.io @@ -133,13 +136,13 @@ Requires: %{name}-common = %{version}-%{release} %prep %setup -q -n %{qt_module}-everywhere-src-%{version} -%patch0 -p1 -b ..runqttools-with-qt5-suffix.patch +%patch -P0 -p1 -b ..runqttools-with-qt5-suffix.patch %ifarch %{mips32} -%patch1 -p1 -b .libatomic +%patch -P1 -p1 -b .libatomic %endif -%patch2 -p1 -b .libclang-cpp -%patch3 -p1 -%patch4 -p1 +%patch -P2 -p1 -b .libclang-cpp +%patch -P3 -p1 +%patch -P4 -p1 %build %{qmake_qt5} \ @@ -215,11 +218,6 @@ for RES in $(ls hicolor); do done cd - -%post -/sbin/ldconfig -%postun -/sbin/ldconfig - %files %{_bindir}/qdbus-qt5 %{_bindir}/qtpaths @@ -230,23 +228,16 @@ cd - %files common %license LICENSE.LGPL* -%ldconfig_scriptlets libs-designer - %files libs-designer %{_qt5_libdir}/libQt5Designer.so.5* %dir %{_qt5_libdir}/cmake/Qt5Designer/ -%ldconfig_scriptlets libs-designercomponents - %files libs-designercomponents %{_qt5_libdir}/libQt5DesignerComponents.so.5* -%ldconfig_scriptlets libs-help - %files libs-help %{_qt5_libdir}/libQt5Help.so.5* - %files -n qt5-assistant %{_bindir}/assistant-qt5 %{_qt5_bindir}/assistant* @@ -360,6 +351,10 @@ cd - %changelog +* Thu Aug 29 2024 Funda Wang - 5.15.10-4 +- Disable automatic .la file removal +- cleanup spec + * Wed Jan 03 2024 wangqia - 5.15.10-3 - rebuild for clang update