!11 fixed kf5-akonadi-server build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX Reviewed-by: @misaka00251 Signed-off-by: @misaka00251
This commit is contained in:
commit
0439cd578a
@ -13,7 +13,7 @@
|
||||
Name: kf5-%{framework}
|
||||
Summary: PIM Storage Service
|
||||
Version: 23.08.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: LGPLv2+
|
||||
URL: https://invent.kde.org/frameworks/%{framework}
|
||||
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/akonadi-%{version}.tar.xz
|
||||
@ -127,20 +127,19 @@ See also: %{_sysconfdir}/akonadi/mysql-global.conf
|
||||
%autosetup -n akonadi-%{version} -p1
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} .. \
|
||||
%{cmake_kf5} \
|
||||
%{?database_backend:-DDATABASE_BACKEND=%{database_backend}} \
|
||||
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} \
|
||||
-DINSTALL_APPARMOR:BOOL=OFF \
|
||||
-DMYSQLD_EXECUTABLE:FILEPATH=%{_libexecdir}/mysqld \
|
||||
-DMYSQLD_SCRIPTS_PATH:FILEPATH=%{_bindir}/mysql_install_db \
|
||||
-DPOSTGRES_PATH:FILEPATH=%{_bindir}/pg_ctl
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
|
||||
%find_lang libakonadi5
|
||||
%find_lang akonadi_knut_resource
|
||||
@ -267,6 +266,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/xdg/akonadi/mysql-local.conf
|
||||
|
||||
%changelog
|
||||
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Mon Jan 15 2024 misaka00251 <liuxin@iscas.ac.cn> - 23.08.4-1
|
||||
- Upgrade to 23.08.4
|
||||
- Skip riscv64 tests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user