adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
28287d59ad
commit
5138bf8813
@ -2,12 +2,12 @@
|
||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.113.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: KDE Frameworks 5 Tier 4 solution with KHTML, a HTML rendering engine
|
||||
License: LGPLv2+ and GPLv3 and MIT and BSD
|
||||
URL: https://invent.kde.org/frameworks/%{framework}
|
||||
|
||||
%global majmin %majmin_ver_kf5
|
||||
%global majmin %majmin_ver_kf5
|
||||
%global stable %stable_kf5
|
||||
|
||||
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/portingAids/%{framework}-%{version}.tar.xz
|
||||
@ -63,15 +63,14 @@ developing applications that use %{name}.
|
||||
%autosetup -n %{framework}-%{version}
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} .. \
|
||||
%{cmake_kf5} \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
||||
popd
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
%find_lang khtml5_qt --with-qt --all-name
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@ -93,6 +92,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{_kf5_archdatadir}/mkspecs/modules/qt_KHtml.pri
|
||||
|
||||
%changelog
|
||||
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Mon Jan 08 2024 haomimi <haomimi@uniontech.com> - 5.113.0-1
|
||||
- Update to upstream version 5.113.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user