!34 fixed libkscreen-qt5 build failure in openEuler-24.03-LTS-SP1:epol

From: @chenyanpanX 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2024-11-20 06:23:09 +00:00 committed by Gitee
commit 90b688f1dd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: libkscreen-qt5
Summary: KDE display configuration library
Version: 5.27.10
Release: 2
Release: 4
License: GPLv2+
URL: https://invent.kde.org/plasma/%{base_name}
@ -57,16 +57,13 @@ developing applications that use %{name}.
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%{cmake_kf5}
make %{?_smp_mflags} -C %{_target_platform}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
%find_lang_kf5 libkscreen5_qt
%ldconfig_scriptlets
@ -95,6 +92,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_archdatadir}/mkspecs/modules/qt_KScreen.pri
%changelog
* Sun Nov 17 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-4
- adapt to the new CMake macros to fix build failure
* Sun Nov 17 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-3
- adapt to the new CMake macros to fix build failure
* Mon Jan 29 2024 peijiankang<peijiankang@kylinos.cn> - 5.27.10-2
- add 0001-fix-build-error-of-5.27.6.patch(sync from 5.27.6-2)