diff --git a/python-sqlparse.spec b/python-sqlparse.spec index 7a9228d56e9cf2bb25fdeafc724d5af3b99cad1c..04577e48fd4bbddb764ebaf1b629edcb32c5d6de 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -1,15 +1,24 @@ %global _empty_manifest_terminate_build 0 +%global common_description \ +python-sqlparse Parse SQL statements |buildstatus|_ \ +|coverage|_|packageversion|_.. docincludebeginsqlparse is a non-validating SQL \ +parser for Python. It provides support for parsing, splitting and formatting SQL \ +statements.The module is compatible with Python 3.5+ and released under the \ +terms of the New BSD license < the project page at for further information about \ +this project. Quick Start --.. code-block:: sh $ pip install sqlparse.. code- \ +block:: python >>> import sqlparse >>> Split a string containing two SQL \ +statements: >>> raw 'select from foo; select from bar;' >>> statements sqlparse. + Name: python-sqlparse -Version: 0.4.2 -Release: 2 +Version: 0.4.3 +Release: 1 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 +Source0: https://files.pythonhosted.org/packages/ba/fa/5b7662b04b69f3a34b8867877e4dbf2a37b7f2a5c0bbb5a9eed64efd1ad1/sqlparse-0.4.3.tar.gz BuildArch: noarch - %description -A non-validating SQL parser. +%{common_description} %package -n python3-sqlparse Summary: A non-validating SQL parser. @@ -20,17 +29,14 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-pytest - %description -n python3-sqlparse -A non-validating SQL parser. +%{common_description} %package help Summary: A non-validating SQL parser. Provides: python3-sqlparse-doc - %description help -A non-validating SQL parser. +%{common_description} %prep %autosetup -n sqlparse-%{version} @@ -68,7 +74,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} -m pytest +%{__python3} setup.py test %files -n python3-sqlparse -f filelist.lst %dir %{python3_sitelib}/* @@ -77,8 +83,11 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Mar 20 2024 wangjing - 0.4.3-1 +- Upgrade package python3-sqlparse to version 0.4.3 + * Tue Jun 21 2022 renliang - 0.4.2-2 -- Setup.py does not execute check, To change parameters, Go to check +- 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 diff --git a/sqlparse-0.4.3.tar.gz b/sqlparse-0.4.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d1b8e43dcc06d37520dce895db72f01cf864a667 Binary files /dev/null and b/sqlparse-0.4.3.tar.gz differ