f5ecc47
f9cd5d3
5546d01
@@ -1,5 +1,3 @@
- %undefine __cmake_in_source_build
-
%if 0%{?rhel}
# EPEL - only Qt5 packages
%bcond_with qt4
@@ -212,21 +210,20 @@
%if %{with qt4}
%global _vpath_builddir build-qt4
- %cmake_build -t check
+ %ctest
%endif
%if %{with qt5}
%global _vpath_builddir build-qt5
%if %{with qt6}
%global _vpath_builddir build-qt6
- %ldconfig_scriptlets
%files
ref: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/e8e905738b99401ab3b7a982ea0469e1
LGTM, thanks!
Pull-Request has been merged by omos
ref:
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/