diff --git a/python-autopep8.changes b/python-autopep8.changes index d003469..d53b61c 100644 --- a/python-autopep8.changes +++ b/python-autopep8.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 31 06:08:11 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue May 11 21:16:05 UTC 2021 - Dirk Müller diff --git a/python-autopep8.spec b/python-autopep8.spec index 206be2d..54e1dfd 100644 --- a/python-autopep8.spec +++ b/python-autopep8.spec @@ -54,7 +54,7 @@ sed -i '1s/^#!.*//' autopep8.py # Remove she-bang line %check export LANG="en_US.UTF-8" -%python_exec setup.py test -q +%pyunittest discover -v %pre # Since /usr/bin/autopep8 became ghosted to be used with update-alternatives, we have to get rid