diff --git a/python-whoosh.spec b/python-whoosh.spec index 4d9e6dd..d009972 100644 --- a/python-whoosh.spec +++ b/python-whoosh.spec @@ -40,6 +40,8 @@ works can be extended or replaced to meet your needs exactly. %prep %setup -q -n %{mod_name}-%{version} +# pytest 4 +sed -i 's/\[pytest\]/\[tool:pytest\]/' setup.cfg %build %py3_build