forked from pool/python-python-sql
Accepting request 1139189 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1139189 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-sql?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 13 14:06:41 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- added %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 9 22:04:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Tue Jan 9 22:04:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%define pythons python3
|
||||||
|
%define mypython python3
|
||||||
|
%define mysitelib %python3_sitelib
|
||||||
|
%else
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
%define mypython %pythons
|
||||||
|
%define mysitelib %{expand:%%%{mypython}_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%define base_name python-sql
|
%define base_name python-sql
|
||||||
Name: python-%{base_name}
|
Name: python-%{base_name}
|
||||||
Version: 1.4.3
|
Version: 1.4.3
|
||||||
@@ -52,7 +62,7 @@ mv sql_hide sql
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/sql
|
%{mysitelib}/sql
|
||||||
%{python_sitelib}/python_sql-%{version}.dist-info
|
%{mysitelib}/python_sql-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user