diff --git a/_service b/_service
deleted file mode 100644
index 5ad3ad3..0000000
--- a/_service
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/python-python-sql.changes b/python-python-sql.changes
index cf0996f..09270ff 100644
--- a/python-python-sql.changes
+++ b/python-python-sql.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Tue Jan 9 22:04:57 UTC 2024 - Dirk Müller
+
+- update to 1.4.3:
+ * Render common table expression in combining query
+ * Add support for Python 3.12
+ * Restore usage of alias in returning expression
+ * Do not use alias in returning expression
+
-------------------------------------------------------------------
Tue May 3 15:06:06 UTC 2022 - Axel Braun
@@ -16,7 +25,7 @@ Tue Sep 14 10:18:53 UTC 2021 - Axel Braun
* Add exclude to Window
* Add method for each type of join
* Remove support for Python older than 3.5
- * Support Select queries in conditionals and functions
+ * Support Select queries in conditionals and functions
-------------------------------------------------------------------
Fri Sep 10 07:14:18 UTC 2021 - pgajdos@suse.com
@@ -32,7 +41,7 @@ Fri Sep 10 07:14:18 UTC 2021 - pgajdos@suse.com
-------------------------------------------------------------------
Tue Oct 6 08:20:02 UTC 2020 - Axel Braun
-- Version 1.2.0
+- Version 1.2.0
* Add explicit Windows to Select
* Fix missing Windows definitions in nested expressions
@@ -57,7 +66,7 @@ Mon Oct 1 08:59:59 UTC 2018 - Axel Braun
-------------------------------------------------------------------
Mon Apr 24 11:49:18 UTC 2017 - axel.braun@gmx.de
-- Version 0.9
+- Version 0.9
* Add distinct_on on Select
* Allow to use Select as Column of Select query
* Support Select without from clause
@@ -71,18 +80,18 @@ Mon Apr 17 08:32:08 UTC 2017 - axel.braun@gmx.de
-------------------------------------------------------------------
Thu Jun 30 14:09:28 UTC 2016 - axel.braun@gmx.de
-- corrected name/metaname
+- corrected name/metaname
-------------------------------------------------------------------
Thu Jun 30 13:11:32 UTC 2016 - axel.braun@gmx.de
- correct naming to python-python-sql
- correct License
+ correct License
-------------------------------------------------------------------
Sat Sep 19 16:17:47 UTC 2015 - axel.braun@gmx.de
-- Version 0.8
+- Version 0.8
* Add DISTINCT qualifier to aggregate expressions
* Allow to order on select queries
* Add NULL ordering
@@ -126,7 +135,7 @@ Fri Sep 12 08:04:20 UTC 2014 - axel.braun@gmx.de
-------------------------------------------------------------------
Mon Mar 24 13:12:58 UTC 2014 - axel.braun@gmx.de
-- update to version 0.3
+- update to version 0.3
-------------------------------------------------------------------
Mon Oct 28 15:08:46 UTC 2013 - axel.braun@gmx.de
diff --git a/python-python-sql.spec b/python-python-sql.spec
index 212931b..a0a5c41 100644
--- a/python-python-sql.spec
+++ b/python-python-sql.spec
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Requires python >= 3.5
-%define skip_python2 1
%define base_name python-sql
Name: python-%{base_name}
-Version: 1.4.0
+Version: 1.4.3
Release: 0
Summary: Library to write SQL queries
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://pypi.io/project/python-sql
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -40,10 +39,10 @@ python-sql is a library to write SQL queries in a pythonic way.
%setup -q -n %{base_name}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%check
mv sql sql_hide
@@ -51,7 +50,9 @@ mv sql sql_hide
mv sql_hide sql
%files %{python_files}
-%doc README
-%{python_sitelib}/*
+%license COPYRIGHT
+%doc README.rst
+%{python_sitelib}/sql
+%{python_sitelib}/python_sql-%{version}.dist-info
%changelog
diff --git a/python-sql-1.4.0.tar.gz b/python-sql-1.4.0.tar.gz
deleted file mode 100644
index 31ca76c..0000000
--- a/python-sql-1.4.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6fe764082f48891d857ea7e6fa425fa54f13531ddf6b89f24c098e646ad1b4b6
-size 32599
diff --git a/python-sql-1.4.3.tar.gz b/python-sql-1.4.3.tar.gz
new file mode 100644
index 0000000..6709dcc
--- /dev/null
+++ b/python-sql-1.4.3.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6260beff835a35d3a0aec4f1da351b0be9caa1a0d94a6cba940a7cd8dcf66269
+size 33404