Revert versioning patch, because there are no new symbols in libpq 15

This commit is contained in:
Filip Janus 2022-12-05 14:57:06 +01:00
parent a330d64407
commit 64accdf4cc
2 changed files with 11 additions and 10 deletions

View File

@ -78,10 +78,10 @@ index 373d73caef..d5bd5468cd 100644
exports_file = $(SHLIB_EXPORTS:%.txt=%.list) exports_file = $(SHLIB_EXPORTS:%.txt=%.list)
ifneq (,$(exports_file)) ifneq (,$(exports_file))
LINK.shared += -Wl,--version-script=$(exports_file) LINK.shared += -Wl,--version-script=$(exports_file)
diff -ur postgresql-15.0_original/src/interfaces/libpq/exports.txt postgresql-15.0/src/interfaces/libpq/exports.txt diff -ur postgresql-14.1/src/interfaces/libpq/exports.txt patched/src/interfaces/libpq/exports.txt
--- postgresql-15.0_original/src/interfaces/libpq/exports.txt 2022-10-10 22:57:37.000000000 +0200 --- postgresql-14.1/src/interfaces/libpq/exports.txt 2021-11-08 22:58:24.000000000 +0100
+++ postgresql-15.0/src/interfaces/libpq/exports.txt 2022-10-19 15:07:19.733908438 +0200 +++ patched/src/interfaces/libpq/exports.txt 2022-01-12 12:00:28.000000000 +0100
@@ -171,16 +171,16 @@ @@ -171,15 +171,15 @@
PQsslAttribute 169 PQsslAttribute 169
PQsetErrorContextVisibility 170 PQsetErrorContextVisibility 170
PQresultVerboseErrorMessage 171 PQresultVerboseErrorMessage 171
@ -97,10 +97,7 @@ diff -ur postgresql-15.0_original/src/interfaces/libpq/exports.txt postgresql-15
PQgetSSLKeyPassHook_OpenSSL 178 PQgetSSLKeyPassHook_OpenSSL 178
PQdefaultSSLKeyPassHook_OpenSSL 179 PQdefaultSSLKeyPassHook_OpenSSL 179
-PQenterPipelineMode 180 -PQenterPipelineMode 180
-PQexitPipelineMode 181
+PQenterPipelineMode 180 14 +PQenterPipelineMode 180 14
+PQexitPipelineMode 181 15 PQexitPipelineMode 181
PQpipelineSync 182 PQpipelineSync 182
PQpipelineStatus 183 PQpipelineStatus 183
PQsetTraceFlags 184

View File

@ -4,7 +4,7 @@
Summary: PostgreSQL client library Summary: PostgreSQL client library
Name: libpq Name: libpq
Version: %{majorversion}.0 Version: %{majorversion}.0
Release: 1%{?dist} Release: 2%{?dist}
License: PostgreSQL License: PostgreSQL
Url: http://www.postgresql.org/ Url: http://www.postgresql.org/
@ -130,7 +130,11 @@ find_lang_bins %name-devel.lst pg_config
%_libdir/pkgconfig/libpq.pc %_libdir/pkgconfig/libpq.pc
%changelog %changelog
* Tue Sep 27 2022 Ondrej Sloup <osloup@redhat.com> - 15.1-1 * Mon Dec 05 2022 Filip Janus <fjansu@redhat.com> - 15.0-2
- Revert versioning patch
- There are no new symbols in libpq 15
* Tue Sep 27 2022 Ondrej Sloup <osloup@redhat.com> - 15.0-1
- Update to v15 - Update to v15
- Update patches - Update patches
- Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_15 - Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_15