!34 修复新增cmake宏__cmake_builddir引起的构建失败

From: @laokz 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2024-10-14 00:56:46 +00:00 committed by Gitee
commit 0f661a6600
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: extra-cmake-modules
Summary: Additional modules for CMake build system
Version: 5.113.0
Release: 1
Release: 2
License: BSD
URL: https://api.kde.org/ecm/
@ -28,11 +28,8 @@ Additional modules for CMake build system needed by KDE Frameworks.
%autosetup -p1
%build
mkdir %{_target_platform}
cd %{_target_platform}
%{cmake_kf5} .. -DBUILD_HTML_DOCS:BOOL=ON -DBUILD_MAN_DOCS:BOOL=ON -DBUILD_TESTING:BOOL=ON \
%{cmake_kf5} -DBUILD_HTML_DOCS:BOOL=ON -DBUILD_MAN_DOCS:BOOL=ON -DBUILD_TESTING:BOOL=ON \
-DSphinx_BUILD_EXECUTABLE:PATH=%{_bindir}/sphinx-build-3
cd -
%make_build -C %{_target_platform}
@ -53,6 +50,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog
* Mon Oct 14 2024 laokz <zhangkai@iscas.ac.cn> - 5.113.0-2
- Remove build path set to adapt new %__cmake_builddir macro
* Tue Jan 02 2024 wangqia <wangqia@uniontech.com> - 5.113.0-1
- Update to upstream version 5.113.0