Assure that network-dependent tests are not run

mock builds do not have network access, and any automatic detection in the
test environment is not consistently reliable.
This commit is contained in:
Yaakov Selkowitz 2024-09-19 23:19:19 -04:00
parent 8c9971820e
commit a0dcf332ee

View File

@ -346,7 +346,8 @@ $SRCDIR/bootstrap --prefix=%{_prefix} \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \
-DCMake_TEST_NO_NETWORK:BOOL=ON
popd
%make_build -C %{_vpath_builddir}