fix check section

This commit is contained in:
Funda Wang 2024-11-12 21:17:53 +08:00
parent 3e2755936b
commit 241f41c0ba

View File

@ -40,7 +40,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 7
Release: 8
Summary: The LLVM Linker
License: NCSA
@ -130,7 +130,7 @@ rm %{buildroot}%{install_includedir}/mach-o/compact_unwind_encoding.h
%check
%if %{with check}
%ctest
%cmake_build --target check-lld
%endif
%files
@ -146,6 +146,9 @@ rm %{buildroot}%{install_includedir}/mach-o/compact_unwind_encoding.h
%{install_libdir}/liblld*.so.*
%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
- adopt to new cmake macro