diff --git a/python-lz4.spec b/python-lz4.spec index f218eda..208f01c 100644 --- a/python-lz4.spec +++ b/python-lz4.spec @@ -47,7 +47,7 @@ Provides: python3-%{srcname} %prep -a sed -i -e '/pytest-cov/d' setup.py -%if %{without test} +%if %{with test} sed -i -e 's/--cov=lz4\/block --cov=lz4\/frame//' tox.ini %endif