From 8d85f689976a665374946592fb995bf7c171f0ff Mon Sep 17 00:00:00 2001 From: Sdk Build System Date: Fri, 5 Jan 2024 16:44:01 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 0.4.3-2mamba;Tue Apr 11 2023] --- python-sqlparse.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python-sqlparse.spec b/python-sqlparse.spec index 7d438f3..4f4bb45 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -1,6 +1,6 @@ Name: python-sqlparse Version: 0.4.3 -Release: 1mamba +Release: 2mamba Summary: A non-validating SQL parser Group: System/Libraries Vendor: openmamba @@ -40,13 +40,25 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/sqlformat; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir},d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/sqlformat* %dir %{python_sitearch}/sqlparse-%{version}-py*.egg-info %{python_sitearch}/sqlparse-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog +* Tue Apr 11 2023 Sdk Build System 0.4.3-2mamba +- rebuilt with python 3.10 + * Sun Sep 25 2022 Automatic Build System 0.4.3-1mamba - automatic version update by autodist