From b126ef3fd3bb9558164e59c2c108161fac2d9eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Crenliang=40uniontech=2Ecom=E2=80=9D?= Date: Wed, 25 May 2022 09:56:56 +0000 Subject: [PATCH] Setup.py does not execute check, To change parameters, Go to check To change %check parameters, Go to check --- python-sqlparse.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-sqlparse.spec b/python-sqlparse.spec index 3374913..7a9228d 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -1,12 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-sqlparse Version: 0.4.2 -Release: 1 +Release: 2 Summary: A non-validating SQL parser. License: BSD URL: https://github.com/andialbrecht/sqlparse Source0: https://files.pythonhosted.org/packages/32/fe/8a8575debfd924c8160295686a7ea661107fc34d831429cce212b6442edb/sqlparse-0.4.2.tar.gz BuildArch: noarch + %description A non-validating SQL parser. @@ -20,12 +21,14 @@ BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pytest + %description -n python3-sqlparse A non-validating SQL parser. %package help Summary: A non-validating SQL parser. Provides: python3-sqlparse-doc + %description help A non-validating SQL parser. @@ -65,7 +68,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%{__python3} -m pytest %files -n python3-sqlparse -f filelist.lst %dir %{python3_sitelib}/* @@ -74,6 +77,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jun 21 2022 renliang - 0.4.2-2 +- Setup.py does not execute check, To change parameters, Go to check + * Fri May 20 2022 renliang - 0.4.2-1 - Upgrade package python3-sqlparse to version 0.4.2 -- Gitee