py-consul: Add SLES 16 support
authorDevrim Gunduz <devrim@gunduz.org>
Thu, 16 Oct 2025 11:11:08 +0000 (14:11 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Thu, 16 Oct 2025 11:11:08 +0000 (14:11 +0300)
rpm/redhat/main/common/py-consul/main/py-consul.spec

index ae51c93be3807b1b4a82f892f297fa1d16f8f9a0..1008a61a4beaf33ec51c7680fcea152845567796 100644 (file)
@@ -1,5 +1,4 @@
 %global modname py_consul
-
 %if 0%{?fedora} && 0%{?fedora} == 43
 %global __ospython %{_bindir}/python3.14
 %global python3_pkgversion 3.14
 %global        __ospython %{_bindir}/python3.12
 %global        python3_pkgversion 3.12
 %endif
-%if 0%{?suse_version} >= 1500
+%if 0%{?suse_version} == 1500
 %global        __ospython %{_bindir}/python3.11
 %global        python3_pkgversion 311
 %endif
+%if 0%{?suse_version} == 1600
+%global        __ospython %{_bindir}/python3.13
+%global        python3_pkgversion 313
+%endif
 
 %{expand: %%global pybasever %(echo `%{__ospython} -c "import sys; sys.stdout.write(sys.version[:4])"`)}
 %global pgdg_python3_sitelib %(%{__ospython} -Esc "import sysconfig; print(sysconfig.get_path('purelib', vars={'platbase': '/usr', 'base': '%{_prefix}'}))")
 
 Name:          py-consul
 Version:       1.6.0
-Release:       44PGDG%{?dist}.1
+Release:       45PGDG%{?dist}
 Summary:       Python client for Consul
 License:       MIT
 URL:           https://github.com/criteo/%{name}
@@ -64,6 +67,9 @@ Python client for Consul
 %{pgdg_python3_sitelib}/consul/api/acl/__pycache__/*.py*
 
 %changelog
+* Thu Oct 16 2025 Devrim Gunduz <devrim@gunduz.org> - 1.6.0-45PGDG
+- Add SLES 16 support
+
 * Mon Sep 22 2025 Devrim Gunduz <devrim@gunduz.org> - 1.6.0-44PGDG.1
 - Add Fedora 43 support