psycopg2: Add SLES 16 support
authorDevrim Gunduz <devrim@gunduz.org>
Sat, 4 Oct 2025 12:48:52 +0000 (15:48 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Sat, 4 Oct 2025 12:48:52 +0000 (15:48 +0300)
rpm/redhat/main/common/psycopg2/main/python-psycopg2.spec

index f8a7a852b5434737cf4057f52de39c67dc4c1d84..b1357c74dba54ddf492cbbe8f79764c0b2b0ca18 100644 (file)
@@ -15,7 +15,7 @@
 %global __ospython %{_bindir}/python3
 %global python3_runtimes python3
 
-%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 || 0%{?suse_version} == 1600
 %{expand: %%global py3ver %(echo `%{__ospython} -c "import sys; sys.stdout.write(sys.version[:4])"`)}
 %else
 %{expand: %%global py3ver %(echo `%{__ospython} -c "import sys; sys.stdout.write(sys.version[:3])"`)}
@@ -24,7 +24,7 @@
 Summary:       A PostgreSQL database adapter for Python 3
 Name:          python3-%{sname}
 Version:       %{ppg2majver}.%{ppg2midver}.%{ppg2minver}
-Release:       4PGDG%{?dist}
+Release:       5PGDG%{?dist}
 # The exceptions allow linking to OpenSSL and PostgreSQL's libpq
 License:       LGPLv3+ with exceptions
 Url:           https://www.psycopg.org
@@ -117,6 +117,9 @@ done
 %endif
 
 %changelog
+* Sat Oct 4 2025 Devrim Gündüz <devrim@gunduz.org> - 2.9.10-5PGDG
+- Add SLES 16 support
+
 * Sat Mar 8 2025 Devrim Gündüz <devrim@gunduz.org> - 2.9.10-4PGDG
 - Remove redundant BR