diff --git a/json.spec b/json.spec index e44efe4..85f97be 100644 --- a/json.spec +++ b/json.spec @@ -44,7 +44,7 @@ mkdir -p %{_target_platform} sed -i 's@lib/@%{_libdir}/@g' CMakeLists.txt # Some tests are broken: https://github.com/nlohmann/json/issues/887 -rm -f test/src/unit-regression.cpp +sed -e '/unit-regression/d' -i test/CMakeLists.txt %build pushd %{_target_platform}