!23 fix check section

From: @fundawang 
Reviewed-by: @liyunfei33 
Signed-off-by: @liyunfei33
This commit is contained in:
openeuler-ci-bot 2024-11-13 01:26:09 +00:00 committed by Gitee
commit c66ce69cc4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -40,7 +40,7 @@
Name: %{pkg_name} Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 7 Release: 8
Summary: The LLVM Linker Summary: The LLVM Linker
License: NCSA License: NCSA
@ -130,7 +130,7 @@ rm %{buildroot}%{install_includedir}/mach-o/compact_unwind_encoding.h
%check %check
%if %{with check} %if %{with check}
%ctest %cmake_build --target check-lld
%endif %endif
%files %files
@ -146,6 +146,9 @@ rm %{buildroot}%{install_includedir}/mach-o/compact_unwind_encoding.h
%{install_libdir}/liblld*.so.* %{install_libdir}/liblld*.so.*
%changelog %changelog
* Tue Nov 12 2024 Funda Wang <fundawang@yeah.net> - 17.0.6-8
- fix check section
* Mon Nov 11 2024 Funda Wang <fundawang@yeah.net> - 17.0.6-7 * Mon Nov 11 2024 Funda Wang <fundawang@yeah.net> - 17.0.6-7
- adopt to new cmake macro - adopt to new cmake macro