diff --git a/python-django-coverage-plugin.spec b/python-django-coverage-plugin.spec index 34d502a..8ca9544 100644 --- a/python-django-coverage-plugin.spec +++ b/python-django-coverage-plugin.spec @@ -25,6 +25,7 @@ License: Apache-2.0 URL: https://github.com/nedbat/django_coverage_plugin Source: https://github.com/nedbat/django_coverage_plugin/archive/v%{version}.tar.gz#/django_coverage_plugin-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module django-codemod} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django @@ -47,6 +48,7 @@ Django template coverage.py plugin %prep %setup -q -n django_coverage_plugin-%{version} +djcodemod run --removed-in 4.0 tests/test_simple.py %build %python_build