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
|
Name: kf5-attica
|
||||||
Version: 5.113.0
|
Version: 5.113.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -54,21 +54,12 @@ BuildArch: noarch
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5}
|
||||||
pushd %{_target_platform}
|
%{cmake_build}
|
||||||
%{cmake_kf5} .. \
|
|
||||||
%if 0%{?flatpak}
|
|
||||||
%{?docs:-DBUILD_QCH:BOOL=OFF} \
|
|
||||||
%else
|
|
||||||
%{?docs:-DBUILD_QCH:BOOL=ON} \
|
|
||||||
%endif
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
%make_build -C %{_target_platform}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -91,6 +82,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
|
||||||
- Update package to version 5.113.0
|
- Update package to version 5.113.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user