From 15b5d4a7eecd6f8c47304736ed41242b095c564a24f7a5b4e856a71444b74e81 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 31 May 2021 06:44:03 +0000 Subject: [PATCH] Accepting request 896271 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/896271 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autopep8?expand=0&rev=51 --- python-autopep8.changes | 5 +++++ python-autopep8.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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