Setup.py does not execute check, To change parameters, Go to check
To change %check parameters, Go to check
This commit is contained in:
parent
a0608ced1a
commit
b126ef3fd3
@ -1,12 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-sqlparse
|
Name: python-sqlparse
|
||||||
Version: 0.4.2
|
Version: 0.4.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A non-validating SQL parser.
|
Summary: A non-validating SQL parser.
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/andialbrecht/sqlparse
|
URL: https://github.com/andialbrecht/sqlparse
|
||||||
Source0: https://files.pythonhosted.org/packages/32/fe/8a8575debfd924c8160295686a7ea661107fc34d831429cce212b6442edb/sqlparse-0.4.2.tar.gz
|
Source0: https://files.pythonhosted.org/packages/32/fe/8a8575debfd924c8160295686a7ea661107fc34d831429cce212b6442edb/sqlparse-0.4.2.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A non-validating SQL parser.
|
A non-validating SQL parser.
|
||||||
|
|
||||||
@ -20,12 +21,14 @@ BuildRequires: python3-pbr
|
|||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description -n python3-sqlparse
|
%description -n python3-sqlparse
|
||||||
A non-validating SQL parser.
|
A non-validating SQL parser.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: A non-validating SQL parser.
|
Summary: A non-validating SQL parser.
|
||||||
Provides: python3-sqlparse-doc
|
Provides: python3-sqlparse-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
A non-validating SQL parser.
|
A non-validating SQL parser.
|
||||||
|
|
||||||
@ -65,7 +68,7 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{__python3} -m pytest
|
||||||
|
|
||||||
%files -n python3-sqlparse -f filelist.lst
|
%files -n python3-sqlparse -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
@ -74,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri May 20 2022 renliang <renliang@uniontech.com> - 0.4.2-1
|
||||||
- Upgrade package python3-sqlparse to version 0.4.2
|
- Upgrade package python3-sqlparse to version 0.4.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user