adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
ad30441c16
commit
1dcfb0b818
@ -3,7 +3,7 @@
|
|||||||
Name: libkscreen-qt5
|
Name: libkscreen-qt5
|
||||||
Summary: KDE display configuration library
|
Summary: KDE display configuration library
|
||||||
Version: 5.27.10
|
Version: 5.27.10
|
||||||
Release: 2
|
Release: 4
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://invent.kde.org/plasma/%{base_name}
|
URL: https://invent.kde.org/plasma/%{base_name}
|
||||||
@ -57,16 +57,13 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5}
|
||||||
pushd %{_target_platform}
|
|
||||||
%{cmake_kf5} ..
|
|
||||||
popd
|
|
||||||
|
|
||||||
make %{?_smp_mflags} -C %{_target_platform}
|
%{cmake_build}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
%find_lang_kf5 libkscreen5_qt
|
%find_lang_kf5 libkscreen5_qt
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
@ -95,6 +92,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_archdatadir}/mkspecs/modules/qt_KScreen.pri
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KScreen.pri
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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)
|
- add 0001-fix-build-error-of-5.27.6.patch(sync from 5.27.6-2)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user