Disable automatic .la file removal
(cherry picked from commit a3064af3292268383ed693b312bd23c70e855d44)
This commit is contained in:
parent
3e7d6a146e
commit
6ac4e52aff
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user