!35 [sync] PR-32: Disable automatic .la file removal

From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2024-09-05 07:51:19 +00:00 committed by Gitee
commit ac2e5e6470
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <fundawang@yeah.net> - 5.15.10-4
- Disable automatic .la file removal
- cleanup spec
* Wed Jan 03 2024 wangqia <wangqia@uniontech.com> - 5.15.10-3
- rebuild for clang update