adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
842c68cdb1
commit
e3c934b78d
@ -9,7 +9,7 @@
|
||||
|
||||
Name: kf5-attica
|
||||
Version: 5.113.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
||||
|
||||
License: LGPLv2+
|
||||
@ -54,21 +54,12 @@ BuildArch: noarch
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} .. \
|
||||
%if 0%{?flatpak}
|
||||
%{?docs:-DBUILD_QCH:BOOL=OFF} \
|
||||
%else
|
||||
%{?docs:-DBUILD_QCH:BOOL=ON} \
|
||||
%endif
|
||||
%{cmake_kf5}
|
||||
%{cmake_build}
|
||||
|
||||
popd
|
||||
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
@ -91,6 +82,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
|
||||
- Update package to version 5.113.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user