diff --git a/python-jsons.spec b/python-jsons.spec index fac9a85..0a18b44 100644 --- a/python-jsons.spec +++ b/python-jsons.spec @@ -47,8 +47,10 @@ Python module for serializing Python objects to JSON (dicts) and back. %autosetup -p1 -n jsons-%{version} # Fix line endings sed -i 's/\r$//' README.md +%if 0%{?qemu_user_space_build} # Performance tests may fail, e.g., for riscv64 under emulation -rm tests/test_performance.py +rm -v tests/test_performance.py +%endif %build %pyproject_wheel