File python-gwdatafind.spec of Package python-gwdatafind
%python_clone -a %{buildroot}%{_bindir}/gw_data_find
%check
# Run tests only under Python 3.11 to avoid pytest fixture resolution issues
# observed on newer Python flavors in the build environment.
pytest-3.11 -k 'not (test_find_urls or test_find_frame_urls or test_postprocess_cache_gaps)'
%post
%python_install_alternative gw_data_find




