!15 Setup.py does not execute check, To change parameters, Go to check

From: @renliang16 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-06-22 01:40:52 +00:00 committed by Gitee
commit 1d9633f883
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <renliang@uniontech.com> - 0.4.2-2
- Setup.py does not execute check, To change parameters, Go to check
* Fri May 20 2022 renliang <renliang@uniontech.com> - 0.4.2-1
- Upgrade package python3-sqlparse to version 0.4.2