From fcb3220d995ba9400dbf9e2e0dd6158946e470cae27f60ce5e5fd99c1fe9d90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 17 Apr 2019 12:00:44 +0000 Subject: [PATCH] - Use %pytest macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlparse?expand=0&rev=15 --- python-sqlparse.changes | 5 +++++ python-sqlparse.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-sqlparse.changes b/python-sqlparse.changes index 685dc04..cfb76da 100644 --- a/python-sqlparse.changes +++ b/python-sqlparse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 17 12:00:12 UTC 2019 - Tomáš Chvátal + +- Use %pytest macro + ------------------------------------------------------------------- Tue Mar 12 01:49:22 UTC 2019 - John Vandenberg diff --git a/python-sqlparse.spec b/python-sqlparse.spec index ad3f928..78307c5 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -58,7 +58,7 @@ sed -i -e '1{\,^#!%{_bindir}/env python,d}' sqlparse/__main__.py sqlparse/cli.py %python_uninstall_alternative sqlformat %check -%python_exec %{_bindir}/py.test tests +%pytest %files %{python_files} %doc AUTHORS README.rst